:root{--navy:#142a40;--navy2:#203c54;--teal:#0e8b82;--teal2:#eaf8f5;--paper:#f6f8fb;--ink:#243649;--muted:#778598;--border:#e5eaf0;--white:#fff;--red:#d84749;--orange:#bd6d1b;--shadow:0 10px 34px rgba(17,40,65,.045)}
*{box-sizing:border-box}html{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}body{margin:0;background:var(--paper);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}svg{flex-shrink:0}.app{display:flex;min-height:100vh}.sidebar{width:244px;background:var(--navy);color:#d6e1ec;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;flex-shrink:0;padding:26px 15px 17px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px}.brand-mark{width:39px;height:39px;border-radius:11px;background:#fff;color:#0d766f;font-weight:800;letter-spacing:-2px;display:grid;place-items:center;font-size:18px}.brand-name{font-weight:750;font-size:20px;color:white;letter-spacing:-.65px;line-height:1.06}.brand-sub{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;margin-top:6px;color:#a9c6d5}.side-label{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#7996ac;padding:14px 14px 8px;font-weight:800}.nav{display:flex;flex-direction:column;gap:3px}.nav button{width:100%;display:flex;align-items:center;gap:11px;padding:12px 14px;color:#b9cbd9;border:0;background:transparent;border-radius:9px;text-align:left;font-weight:600;font-size:13px}.nav button:hover{background:#213c55;color:#fff}.nav button.active{background:#264a61;color:#fff;box-shadow:inset 3px 0 0 #46d7bd}.nav svg{width:18px;height:18px;stroke-width:1.8}.nav .count{margin-left:auto;background:#dc6664;color:#fff;min-width:20px;height:19px;display:grid;place-items:center;border-radius:6px;font-size:10px;font-weight:800}.sidebar-bottom{margin-top:auto;border-top:1px solid #335069;padding:19px 9px 0}.secure{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.55;color:#a8bfd0}.secure svg{color:#60bdb0;margin-top:1px}.avatar-row{display:flex;gap:10px;align-items:center;margin-top:19px}.avatar{width:34px;height:34px;border-radius:50%;background:#3a6379;display:grid;place-items:center;color:#fff;font-weight:750;font-size:11px}.avatar-name{font-weight:700;color:#fff;font-size:12px}.avatar-role{font-size:11px;color:#94aec0;margin-top:3px}.content{min-width:0;width:100%;max-width:1700px;margin:auto;padding:0 36px 40px}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:20px}.breadcrumbs{color:#8090a0;font-size:12px}.breadcrumbs b{color:#50677b;font-weight:750}.top-actions{display:flex;align-items:center;gap:13px}.today{font-size:12px;color:#7e8c9c}.iconbtn{width:36px;height:36px;border:1px solid var(--border);background:white;color:#597088;border-radius:10px;display:grid;place-items:center;position:relative}.iconbtn .dot{width:7px;height:7px;background:#e56b67;position:absolute;top:7px;right:6px;border-radius:50%;border:1px solid #fff}.iconbtn:hover{background:#f0f8f7}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 22px}.eyebrow{font-size:11px;letter-spacing:1.1px;color:var(--teal);font-weight:800;text-transform:uppercase;margin-bottom:7px}h1{font-size:28px;letter-spacing:-1.1px;margin:0;font-weight:780;color:#183048}.subtitle{color:#8190a2;margin-top:8px;font-size:13px}.headbuttons{display:flex;gap:9px}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--border);padding:10px 14px;border-radius:9px;background:#fff;color:#516576;font-size:12px;font-weight:750;white-space:nowrap}.btn:hover{background:#f2f6f8}.btn.primary{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 4px 11px rgba(14,139,130,.17)}.btn.primary:hover{background:#0a766f}.btn.danger{color:var(--red)}.btn svg{width:16px;height:16px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);padding:20px 20px 18px;border-radius:12px;position:relative;min-height:137px}.stat-top{display:flex;justify-content:space-between;gap:8px}.stat-label{color:#718397;font-size:12px;font-weight:650}.stat .stat-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;background:#f1f6fa;color:#486b83}.stat .stat-icon svg{width:19px;height:19px}.stat-value{font-size:31px;font-weight:800;letter-spacing:-1px;margin:8px 0 5px;color:#18344b}.stat-caption{color:#8493a1;font-size:11px}.stat.red .stat-icon{background:#fff0f0;color:#da5658}.stat.orange .stat-icon{background:#fff4e8;color:#c07925}.stat.green .stat-icon{background:#eaf9f3;color:#159b7e}.stat.red .stat-value{color:#c94147}.stat.orange .stat-value{color:#bd711d}.stat.is-clickable{cursor:pointer}.stat.is-clickable:hover{border-color:#a5d9d2}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);min-width:0}.panel-header{padding:19px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title{font-weight:800;color:#273d52;letter-spacing:-.15px;font-size:15px}.panel-hint{font-size:11px;color:#91a0b0;margin-top:4px}.pill-outline{font-size:10px;border:1px solid #dfe8ef;color:#61768a;border-radius:20px;padding:5px 9px;font-weight:750}.tabs{display:flex;gap:20px;padding:0 20px;border-bottom:1px solid var(--border);overflow:auto}.tab{padding:11px 0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8695a6;white-space:nowrap;font-size:12px;font-weight:700}.tab.active{color:var(--teal);border-color:var(--teal)}.tools{display:flex;gap:8px;padding:14px 20px;align-items:center;flex-wrap:wrap}.search{display:flex;gap:8px;align-items:center;border:1px solid var(--border);border-radius:9px;background:#fff;color:#8ea0ad;flex:1;min-width:185px;padding:0 11px;height:37px}.search input{border:0;outline:0;width:100%;min-width:0;font-size:12px;color:#33495e}.search input::placeholder{color:#a1abb8}.filter{height:37px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#617789;padding:0 9px;font-size:11px;max-width:155px;outline:none}.filter:focus,.search:focus-within{border-color:#42b3a7;box-shadow:0 0 0 3px #e6f8f6}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:800px;table-layout:auto}th{text-align:left;background:#f9fbfd;color:#91a0ae;font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;padding:12px 15px;white-space:nowrap}td{padding:15px 15px;border-top:1px solid #edf0f4;vertical-align:middle;font-size:11.5px;color:#516679}th .date-sort{display:inline-flex;align-items:center;gap:5px;background:transparent;border:0;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;white-space:nowrap;cursor:pointer;padding:0;text-align:left}th .date-sort:hover{color:var(--teal)}th .date-sort:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:2px}.sort-arrow{color:var(--teal);font-size:13px;font-weight:800;min-width:13px;text-align:center}tbody tr{cursor:pointer}tbody tr:hover{background:#f8fbfb}.record-main{font-size:12px;font-weight:770;color:#273d50;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-sub{color:#9aabba;font-size:10.5px;margin-top:5px;white-space:nowrap}.authority{font-weight:750;color:#526b7e}.typechip{display:inline-block;border-radius:5px;background:#edf4fb;color:#39729d;font-size:10px;font-weight:780;padding:4px 6px;margin-right:5px}.typechip.marka{background:#f2edff;color:#7656aa}.typechip.tasarım{background:#fff3e8;color:#a96c36}.owner{display:flex;align-items:center;gap:7px;white-space:nowrap}.tiny-avatar{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf5f7;color:#4b7a89;font-size:9px;font-weight:800}.deadline{white-space:nowrap;font-weight:730;color:#435b6f}.deadline small{display:block;color:#98a6b4;font-weight:550;margin-top:4px;font-size:10px}.deadline.overdue,.deadline.overdue small{color:#c74347}.deadline.urgent,.deadline.urgent small{color:#bd6d1b}.status{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:6px 9px;border-radius:18px;font-weight:800;white-space:nowrap;background:#edf2fa;color:#5b78a3}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.İşlemde{background:#eef4ff;color:#447bbb}.status.Yeni,.status.Bekliyor{background:#f3edff;color:#8e6ac8}.status.Kontrolde{background:#fff5e8;color:#bb8235}.status.Tamamlandı{background:#e8f7ed;color:#2c9864}.more{border:0;background:transparent;color:#92a6b7;font-size:19px;padding:4px 8px;border-radius:6px}.more:hover{background:#eef5f5}.table-foot{padding:14px 20px;display:flex;justify-content:space-between;gap:10px;color:#91a0af;font-size:11px;border-top:1px solid var(--border)}.table-foot button{background:none;color:var(--teal);border:0;font-weight:800;font-size:11px}.right-panels{display:flex;flex-direction:column;gap:17px}.attention{padding:17px 18px}.right-title{font-size:14px;font-weight:800;color:#2c4155;display:flex;justify-content:space-between;align-items:center}.right-title svg{color:#94a7b5}.right-desc{font-size:11px;line-height:1.6;color:#97a3b0;margin:7px 0 13px}.alert-list{display:flex;flex-direction:column;gap:0}.alert-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:11px 0;border-top:1px solid #eef1f4;cursor:pointer}.alert-row:hover .alert-name{color:var(--teal)}.alert-name{font-size:11px;font-weight:730;color:#40566c;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-sub{font-size:10px;color:#a0afbd;margin-top:5px}.days{font-size:10px;font-weight:800;white-space:nowrap;color:#b37524}.days.late{color:var(--red)}.empty-mini{color:#9baab7;font-size:12px;padding:13px 0}.guide{background:#f0f8f6;border:1px solid #d6ece7;border-radius:12px;padding:18px;color:#345b57}.guide .guide-title{font-size:12px;font-weight:800;color:#1f6760;display:flex;gap:7px;align-items:center}.guide p{line-height:1.55;font-size:11px;color:#6c8d86;margin:9px 0 0}.note-line{display:flex;align-items:center;gap:6px;color:#8d9baa;font-size:10px;margin-top:16px;line-height:1.5}.empty-state{padding:55px 24px;text-align:center;color:#8294a5;font-size:13px}.empty-state svg{color:#b6c6d2;margin-bottom:14px}.calendar-panel{padding:20px}.calendar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.calendar-title{font-size:18px;font-weight:800}.calendar-nav{display:flex;gap:5px}.calendar-nav button{width:33px;height:31px;border:1px solid var(--border);background:#fff;border-radius:7px;color:#718296}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.day-head{font-size:10px;color:#91a3ae;text-align:center;padding-bottom:6px}.day{min-height:96px;border:1px solid var(--border);border-radius:9px;background:#fff;padding:8px;cursor:pointer;overflow:hidden}.day:hover{border-color:#8bcfc5}.day.outside{background:#f9fafb;color:#c3cbd0}.day.today{border-color:#57bcae}.day-num{font-size:11px;font-weight:770}.cal-item{background:#f9ebe7;border-radius:5px;color:#a65c46;font-size:10px;padding:5px 5px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-item.patent{background:#e9f3fc;color:#477da7}.cal-item.marka{background:#f0ecfc;color:#7863ae}.cal-item.tasarım{background:#fff2e8;color:#aa7942}.cal-item.done{opacity:.45}.overlay{position:fixed;inset:0;z-index:50;background:rgba(14,32,50,.52);display:none;justify-content:flex-end}.overlay.open{display:flex}.drawer{background:#fff;width:min(570px,100vw);height:100vh;overflow-y:auto;box-shadow:-20px 0 55px rgba(13,35,59,.15);animation:slide .2s ease}@keyframes slide{from{transform:translateX(18px);opacity:.85}to{transform:translateX(0);opacity:1}}.drawer-top{position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid var(--border);padding:22px 25px;display:flex;justify-content:space-between;align-items:center}.drawer-title{font-size:19px;font-weight:800;letter-spacing:-.5px}.close{border:0;background:#f2f6f9;border-radius:8px;width:33px;height:33px;display:grid;place-items:center;color:#677e90}.drawer-main{padding:23px 25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:750;color:#526a7e}.field label .req{color:#d04e50}.field input,.field select,.field textarea{border:1px solid #dde5ec;background:#fff;border-radius:8px;width:100%;min-height:40px;padding:10px 11px;outline:none;color:#2c4759;font-size:12px}.field textarea{min-height:86px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#0e8b82;box-shadow:0 0 0 3px #e8f7f4}.form-section{font-weight:800;color:#1d3c50;font-size:12px;grid-column:1/-1;margin-top:9px;padding-bottom:8px;border-bottom:1px solid var(--border)}.form-note{background:#f7fafb;border-radius:8px;color:#8092a1;padding:11px;font-size:11px;line-height:1.6}.form-footer{border-top:1px solid var(--border);margin-top:24px;padding-top:20px;display:flex;justify-content:flex-end;gap:8px}.detail-banner{border-radius:11px;background:#f3faf8;border:1px solid #e0f0ec;padding:18px;margin-bottom:21px}.detail-id{font-size:11px;font-weight:800;color:#17877c;margin-bottom:7px}.detail-h{font-size:18px;font-weight:800;color:#284455;line-height:1.35}.detail-meta{font-size:11px;color:#6b8b89;margin-top:10px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:22px}.info-label{font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:800;color:#a3afbb}.info-value{font-size:12px;font-weight:750;color:#365166;margin-top:6px}.detail-note{padding:14px;border-radius:9px;background:#f6f8fa;font-size:12px;color:#627889;line-height:1.6;white-space:pre-wrap}.warning{margin-top:12px;padding:11px 12px;font-size:11px;line-height:1.6;border-radius:8px;background:#fff4e6;color:#a46425}.upload-hint{font-size:10px;color:#9babbb;line-height:1.5;margin-top:5px}.toast{position:fixed;bottom:23px;right:24px;z-index:90;background:#16394b;color:#fff;font-size:12px;padding:12px 17px;border-radius:9px;box-shadow:0 8px 30px rgba(15,35,55,.2);opacity:0;transform:translateY(10px);pointer-events:none;transition:.23s}.toast.show{opacity:1;transform:none}.small-link{color:var(--teal);background:none;border:0;font-size:11px;font-weight:750;padding:0}.footnote{font-size:10px;color:#9aa9b5;margin-top:18px;line-height:1.65}
@media(max-width:1280px){.content{padding:0 22px 35px}.workspace{grid-template-columns:minmax(0,1fr) 250px}.sidebar{width:215px}.stat{padding:17px 15px}.stats{gap:10px}}
@media(max-width:1040px){.workspace{grid-template-columns:1fr}.right-panels{display:grid;grid-template-columns:1fr 1fr}.stats{grid-template-columns:repeat(2,1fr)}.sidebar{width:76px;align-items:center;padding-left:8px;padding-right:8px}.brand{padding:0 0 28px}.brand-name,.brand-sub,.side-label,.nav button span,.nav .count,.sidebar-bottom{display:none}.nav{width:100%}.nav button{justify-content:center;padding:14px}.nav button svg{width:20px;height:20px}}
@media(max-width:650px){.content{padding:0 12px 24px}.sidebar{width:54px;padding:16px 5px}.brand-mark{width:34px;height:34px;font-size:15px}.brand{padding-bottom:20px}.nav button{padding:11px}.topbar{height:58px}.today{display:none}.pagehead{align-items:flex-start;flex-direction:column;margin-top:22px}.headbuttons{width:100%}.headbuttons .btn{flex:1}.stats{gap:8px}.stat{padding:12px;min-height:115px}.stat-value{font-size:26px}.stat-label{font-size:10px}.stat-caption{font-size:10px}.right-panels{grid-template-columns:1fr}.panel-header{padding:15px}.tools{padding:12px}.tabs{padding:0 12px;gap:15px}.calendar-grid{gap:3px}.calendar-panel{padding:10px}.day{padding:5px;min-height:72px}.cal-item{font-size:8px;padding:3px}.form-grid,.info-grid{grid-template-columns:1fr}.field.full,.form-section{grid-column:auto}.drawer-main{padding:17px}.drawer-top{padding:17px}}

.row-delete{background:#fff8f8;border:1px solid #f3dfdf;border-radius:7px;color:#c74648;font-size:11px;font-weight:750;padding:7px 9px;white-space:nowrap}
.row-delete:hover{background:#ffeded;border-color:#ecc4c4}

@media(max-width:810px){.headbuttons{flex-wrap:wrap}.headbuttons .btn{font-size:11px}.row-delete{padding:6px 8px}}

/* Bağımsız Yıllık Ücret modülü: Gelen Evrak stillerine müdahale edilmez. */
#ann-module[hidden], #incoming-module[hidden], #ann-calendar-panel[hidden],#ann-list-panel[hidden], #ann-tabs[hidden],.ann-nav button[hidden],#ann-menu-deleted[hidden]{display:none!important}
.ann-nav{margin-top:2px}.ann-nav .nav button{width:100%}.ann-nav .nav button.active{background:#264a61;color:#fff;box-shadow:inset 3px 0 0 #46d7bd}
#ann-module .ann-role{border:1px solid #dfe8ef;border-radius:8px;padding:7px 8px;background:#fff;color:#315467;font-size:11px;max-width:156px}
#ann-module .ann-role-label{font-size:11px;color:#8090a0}
#ann-module .ann-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#ann-module .ann-stat{cursor:pointer}#ann-module .ann-stat:hover{border-color:#9bdad1}
#ann-module .ann-cell-muted{color:#91a0af;font-size:11px}
#ann-module .ann-tag{display:inline-flex;align-items:center;gap:5px;border-radius:18px;padding:5px 9px;font-size:10px;font-weight:750;background:#f1eaff;color:#7e62b3;white-space:nowrap}
#ann-module .ann-tag:before{content:"";height:6px;width:6px;border-radius:50%;background:currentColor}
#ann-module .ann-tag.paid{background:#e8f7ed;color:#2c9864}#ann-module .ann-tag.waived{background:#f0f2f5;color:#7a8796}#ann-module .ann-tag.complete{background:#e8f7ed;color:#298d62}
#ann-module .ann-due.overdue,#ann-module .ann-due.overdue small{color:#c74347}
#ann-module .ann-due.urgent,#ann-module .ann-due.urgent small{color:#c74347}
#ann-module .ann-due.near,#ann-module .ann-due.near small{color:#bd6d1b}
#ann-module .ann-due{font-size:11px;font-weight:750;white-space:nowrap}#ann-module .ann-due small{display:block;font-size:10px;font-weight:500;color:#99a6b6;margin-top:4px}
#ann-module .ann-list-num{font-weight:800;color:#2b4558;white-space:nowrap}#ann-module .ann-list-sub{font-size:10px;color:#99a9b7;margin-top:4px}
#ann-module .ann-calendar-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px;color:#7b8c9a;font-size:11px}
#ann-module .ann-calendar-legend>span{display:flex;align-items:center;gap:5px}.ann-dot{width:9px;height:9px;display:inline-block;border-radius:50%;background:#5c90bc}.ann-dot-paid{background:#40a57a}.ann-dot-near{background:#dd9f38}.ann-dot-urgent{background:#d6585e}
#ann-module .ann-event{display:block;border:0;text-align:left;width:100%;font-size:10px;border-radius:5px;padding:4px 5px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#e8f2fa;color:#477caa}
#ann-module .ann-event.paid{background:#e8f7ed;color:#2d945f}#ann-module .ann-event.near{background:#fff1df;color:#af731f}#ann-module .ann-event.urgent,#ann-module .ann-event.overdue{background:#fce9e9;color:#c34046}
#ann-module .ann-event:hover{filter:brightness(.95)}#ann-module .ann-more{display:block;margin-top:3px;color:#268d83;font-weight:750;border:0;background:transparent;padding:2px;font-size:10px}
#ann-close[hidden]{display:none!important}
.ann-overlay{z-index:70}.ann-drawer{width:min(680px,100vw)}.ann-highlight{background:#f2fbf8;border-color:#a9dcd4!important}
.ann-detail-table{width:100%;min-width:0}.ann-detail-table td,.ann-detail-table th{padding:11px 10px;vertical-align:middle}.ann-detail-table tbody tr{cursor:default}.ann-detail-table tbody tr:hover{background:#f9fbfb}
.ann-year-select{width:118px;max-width:100%;height:34px;border:1px solid #dae4eb;border-radius:7px;padding:5px 8px;background:white;color:#435b6f;font-size:11px}
.ann-summary{background:#f3faf8;padding:17px;border-radius:10px;margin-bottom:20px;border:1px solid #e0f0ec}
.ann-summary strong{display:block;color:#244358;font-size:18px;margin:7px 0 5px}.ann-summary small{display:block;color:#78909b;margin-top:4px}
.ann-subtitle{font-size:13px;font-weight:800;color:#244358;margin:20px 0 10px}
.ann-note{font-size:11px;color:#8092a1;line-height:1.6;padding:11px 13px;background:#f6f9fb;border-radius:9px;margin-top:12px}
.ann-warning{padding:12px;border-radius:9px;background:#fff3e4;color:#975c1b;font-size:11px;line-height:1.55;margin:12px 0}
.ann-action-row{border-top:1px solid var(--border);margin-top:20px;padding-top:16px;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px}
.ann-action-row .btn.danger{border-color:#f1d4d3;background:#fff8f8}
.ann-audit{max-height:175px;overflow:auto;border:1px solid #e8eef2;border-radius:8px;padding:5px 12px}
.ann-audit-item{border-top:1px solid #eef2f4;padding:9px 0;font-size:11px;color:#5c7182;line-height:1.5}.ann-audit-item:first-child{border-top:0}.ann-audit-item small{display:block;color:#a0afbb}
#ann-module .ann-critical-year{font-size:12px;color:#2b5266;font-weight:800}
#ann-module .ann-calendar-panel .day{min-height:94px}
@media(max-width:1040px){#ann-module .ann-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){#ann-module .ann-stats{grid-template-columns:1fr}#ann-module .ann-role-label{display:none}#ann-module .ann-role{max-width:110px;font-size:10px}.ann-detail-table th,.ann-detail-table td{padding:8px 5px}}

/* 1 YIL SÜRE DOLUMU MODÜLÜ: var olan modüllerin stil ve işleyişinden bağımsız */
#year-module[hidden],#year-list-panel[hidden],#year-calendar-panel[hidden],#year-tabs[hidden]{display:none!important}
.year-nav{margin-top:2px}.year-nav .nav button.active{background:#264a61;color:#fff;box-shadow:inset 3px 0 0 #46d7bd}
#year-module .year-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#year-module .year-stats .stat{cursor:pointer}
#year-module .year-stats .stat:hover{border-color:#a5d9d2}
#year-module .year-deadline{font-weight:750;color:#435b6f;white-space:nowrap}
#year-module .year-deadline small{display:block;margin-top:5px;font-size:10px;color:#95a5b5;font-weight:550}
#year-module .year-deadline.soon,#year-module .year-deadline.soon small{color:#bf721d}
#year-module .year-deadline.late,#year-module .year-deadline.late small{color:#c74347}
#year-module .year-tag{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;padding:6px 9px;border-radius:18px;background:#f3edff;color:#8e6ac8;white-space:nowrap}
#year-module .year-tag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#year-module .year-tag.done{background:#e8f7ed;color:#2c9864}
#year-module .year-calendar-legend{margin-top:14px;display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#8192a0}
#year-module .year-calendar-legend span{display:flex;gap:5px;align-items:center}
.year-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#76a5ca}.year-dot-complete{background:#4ca884}.year-dot-soon{background:#d69b37}.year-dot-late{background:#d45757}
#year-module .year-event{display:block;border:0;text-align:left;width:100%;font-size:10px;border-radius:5px;padding:5px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#e8f2fa;color:#477caa}
#year-module .year-event.done{background:#e8f7ed;color:#2d945f;opacity:.7}
#year-module .year-event.soon{background:#fff1df;color:#af731f}#year-module .year-event.late{background:#fce9e9;color:#c34046}
#year-module .year-more{display:block;margin-top:5px;font-size:10px;color:#268d83;font-weight:750;border:0;background:transparent;cursor:pointer}
#year-overlay{z-index:82}#year-toast{z-index:95}#year-close[hidden]{display:none!important}
#year-module .year-detail{background:#f3faf8;border:1px solid #e0f0ec;border-radius:10px;padding:18px;margin-bottom:20px}
#year-module .year-detail strong{display:block;color:#284455;font-size:18px;margin:5px 0}
#year-module .year-detail small{color:#6b8b89;font-size:11px}
.year-detail-in-modal{background:#f3faf8;border:1px solid #e0f0ec;border-radius:10px;padding:18px;margin-bottom:20px}
.year-detail-in-modal strong{display:block;color:#284455;font-size:18px;margin:6px 0}.year-detail-in-modal small{color:#6b8b89;font-size:11px}
.year-form-msg{background:#f4f8fa;border:1px solid #e4edf1;border-radius:8px;font-size:11px;color:#657e90;padding:11px 12px;line-height:1.55}
.year-action-row{border-top:1px solid var(--border);margin-top:20px;padding-top:16px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.year-action-row .btn.danger{background:#fff8f8;border-color:#f3dfdf}
@media(max-width:1040px){#year-module .year-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#year-module .year-stats{grid-template-columns:1fr}}
/* Üç menü grubunda küçük ekranlarda en alttaki menülere erişim sağla. */
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#486a81 #142a40}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#486a81;border-radius:5px}


/* PCT 30 AY DOLUMU MODÜLÜ: var olan modüllerin stil ve işleyişinden bağımsız */
#pct-module[hidden],#pct-list-panel[hidden],#pct-calendar-panel[hidden],#pct-tabs[hidden]{display:none!important}
.pct-nav{margin-top:2px}.pct-nav .nav button.active{background:#264a61;color:#fff;box-shadow:inset 3px 0 0 #46d7bd}
#pct-module .pct-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#pct-module .pct-stats .stat{cursor:pointer}
#pct-module .pct-stats .stat:hover{border-color:#a5d9d2}
#pct-module .pct-deadline{font-weight:750;color:#435b6f;white-space:nowrap}
#pct-module .pct-deadline small{display:block;margin-top:5px;font-size:10px;color:#95a5b5;font-weight:550}
#pct-module .pct-deadline.soon,#pct-module .pct-deadline.soon small{color:#bf721d}
#pct-module .pct-deadline.late,#pct-module .pct-deadline.late small{color:#c74347}
#pct-module .pct-tag{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;padding:6px 9px;border-radius:18px;background:#f3edff;color:#8e6ac8;white-space:nowrap}
#pct-module .pct-tag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#pct-module .pct-tag.done{background:#e8f7ed;color:#2c9864}
#pct-module .pct-calendar-legend{margin-top:14px;display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#8192a0}
#pct-module .pct-calendar-legend span{display:flex;gap:5px;align-items:center}
.pct-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#76a5ca}.pct-dot-complete{background:#4ca884}.pct-dot-soon{background:#d69b37}.pct-dot-late{background:#d45757}
#pct-module .pct-event{display:block;border:0;text-align:left;width:100%;font-size:10px;border-radius:5px;padding:5px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#e8f2fa;color:#477caa}
#pct-module .pct-event.done{background:#e8f7ed;color:#2d945f;opacity:.7}
#pct-module .pct-event.soon{background:#fff1df;color:#af731f}#pct-module .pct-event.late{background:#fce9e9;color:#c34046}
#pct-module .pct-more{display:block;margin-top:5px;font-size:10px;color:#268d83;font-weight:750;border:0;background:transparent;cursor:pointer}
#pct-overlay{z-index:82}#pct-toast{z-index:95}#pct-close[hidden]{display:none!important}
#pct-module .pct-detail{background:#f3faf8;border:1px solid #e0f0ec;border-radius:10px;padding:18px;margin-bottom:20px}
#pct-module .pct-detail strong{display:block;color:#284455;font-size:18px;margin:5px 0}
#pct-module .pct-detail small{color:#6b8b89;font-size:11px}
.pct-detail-in-modal{background:#f3faf8;border:1px solid #e0f0ec;border-radius:10px;padding:18px;margin-bottom:20px}
.pct-detail-in-modal strong{display:block;color:#284455;font-size:18px;margin:6px 0}.pct-detail-in-modal small{color:#6b8b89;font-size:11px}
.pct-form-msg{background:#f4f8fa;border:1px solid #e4edf1;border-radius:8px;font-size:11px;color:#657e90;padding:11px 12px;line-height:1.55}
.pct-action-row{border-top:1px solid var(--border);margin-top:20px;padding-top:16px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.pct-action-row .btn.danger{background:#fff8f8;border-color:#f3dfdf}
@media(max-width:1040px){#pct-module .pct-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#pct-module .pct-stats{grid-template-columns:1fr}}
/* Üç menü grubunda küçük ekranlarda en alttaki menülere erişim sağla. */
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#486a81 #142a40}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#486a81;border-radius:5px}


#ann-table, #year-table{min-width:940px} #pct-table{min-width:1160px}

/* ===================================================================================================== */
/* Portal additions (not in the prototype): rights, signed-in user, calendar printing, empty state       */
/* ===================================================================================================== */

/* a module the user's group cannot list, and the actions it cannot do (the server refuses them anyway) */
.no-inbox-view .inbox-nav,.no-annual-view .ann-nav,.no-year-view .year-nav,.no-pct-view .pct-nav{display:none}
.no-inbox-add #add-btn,.no-inbox-edit #edit-current,.no-inbox-edit #toggle-current,.no-inbox-del #delete-current,
.no-annual-add #ann-add,.no-annual-edit #ann-edit,.no-annual-edit #ann-waive,.no-annual-edit #ann-resume,
.no-year-add #year-add,.no-year-edit #year-edit,.no-year-edit #year-toggle,.no-year-del #year-delete,
.no-pct-add #pct-add,.no-pct-edit #pct-edit,.no-pct-edit #pct-toggle,.no-pct-del #pct-delete{display:none!important}
.no-annual-edit .ann-year-select{pointer-events:none;opacity:.65}

.avatar-role a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(169,198,213,.45)}
.avatar-role a:hover{color:#fff}
.portal-empty{display:flex;align-items:center;justify-content:center}
.portal-empty .panel{padding:28px 32px;margin-top:80px}

/* calendar: "Yazdır / PDF" prints the month on its own (the browser's print dialog saves it as PDF) */
.calendar-nav .cal-print{width:auto;display:inline-flex;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:700;color:#516576;margin-right:6px}
.calendar-nav .cal-print:hover{background:#f2f6f8}
@media print{
	@page{size:A4 landscape;margin:10mm}
	body.printing-calendar{background:#fff}
	body.printing-calendar *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
	body.printing-calendar .sidebar,body.printing-calendar .topbar,body.printing-calendar .stats,
	body.printing-calendar .headbuttons,body.printing-calendar .right-panels,body.printing-calendar .calendar-nav,
	body.printing-calendar .toast,body.printing-calendar .overlay,body.printing-calendar .subtitle{display:none!important}
	body.printing-calendar .app{display:block}
	body.printing-calendar .content{padding:0;max-width:none}
	body.printing-calendar .pagehead{margin:0 0 6px}
	body.printing-calendar .workspace{display:block}
	body.printing-calendar .panel{box-shadow:none;border:0}
	body.printing-calendar .calendar-panel{padding:0}
	body.printing-calendar .day{min-height:70px;break-inside:avoid;cursor:default}
	body.printing-calendar .cal-item,body.printing-calendar .ann-event,body.printing-calendar .year-event,
	body.printing-calendar .pct-event{white-space:normal;overflow:visible}
}

/* sign-in page (views/portal/login.php) */
body.portal-login{min-height:100vh;display:grid;place-items:center;background:var(--navy);padding:16px}
.login-card{width:100%;max-width:380px;background:#fff;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.25);overflow:hidden}
.login-card .brand{background:var(--navy2);padding:22px 24px}
.login-card form{display:flex;flex-direction:column;gap:15px;padding:24px}
.login-card .btn.primary{min-height:42px;font-size:13px}
.login-msg{font-size:12px;color:var(--red);background:#fff0f0;border-radius:8px;padding:9px 11px}
.login-note{font-size:11px;color:var(--muted);text-align:center}
.login-card [hidden]{display:none!important}
.login-card .brand>div:last-child,.login-card .brand-name,.login-card .brand-sub{display:block!important}
/* the narrow (icon) sidebar hides its bottom block: the sign-out stays as an icon */
.sidebar-bottom .logout-icon{display:none}
@media(max-width:1040px){
	.sidebar .sidebar-bottom{display:block;padding:14px 0 0}
	.sidebar-bottom .avatar-row{display:none}
	.sidebar-bottom .logout-icon{display:grid;place-items:center;height:40px;border-radius:9px;color:#b9cbd9}
	.sidebar-bottom .logout-icon:hover{background:#213c55;color:#fff}
}
/* a zero badge is hidden by its module (the prototype's .nav .count{display:grid} showed it anyway) */
.nav .count[hidden]{display:none}
