/* esnotes — özgün tasarım (değiştirilmeden korunmuştur) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#243036;--green:#0f6a6f;--muted:#859090;--line:#e5ebeb}*{box-sizing:border-box}body{margin:0;background:#f4f8f8;color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:hover{filter:brightness(.96)}aside{width:250px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 20px}.brand{display:flex;align-items:center;gap:10px;font:800 20px Manrope,sans-serif;letter-spacing:-.7px}.logo{background:var(--green);color:white;border-radius:12px;padding:9px;font-size:22px}.workspace{margin:32px 0 22px;padding:13px;border:1px solid var(--line);border-radius:10px;display:flex;gap:12px;align-items:center}.square{background:#e9f1f1;border-radius:8px;padding:9px;font-weight:700}.muted{color:var(--muted);font-size:12px}.nav{width:100%;text-align:left;padding:12px 14px;margin:3px 0;border-radius:8px;display:flex;gap:12px;align-items:center}.nav.active{background:#edf4f4;color:var(--green);font-weight:700}.label{font-size:10px;font-weight:700;color:#929b9b;letter-spacing:1.6px;margin:30px 12px 12px}.project{padding:12px;border-radius:8px;display:flex;gap:10px;align-items:center;width:100%;text-align:left}.project.active{background:#eff4f4;font-weight:700}.dot{height:8px;width:8px;border-radius:50%;background:#7ca3a5}.project span:last-child{margin-left:auto;font-size:11px;color:#8d9999}.bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#dce9e9;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}main{margin-left:250px}header{height:82px;background:#fff;border-bottom:1px solid var(--line);padding:0 36px;display:flex;justify-content:space-between;align-items:center}.crumb{color:#8b9494;font-size:12px}.crumb b{color:var(--ink);margin-left:10px}.search{background:#f3f7f7;border:1px solid var(--line);border-radius:8px;padding:10px 13px;width:240px;outline:none}.layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;padding:34px 36px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--green);font-weight:700}h1{font:800 29px Manrope,sans-serif;letter-spacing:-1px;margin:8px 0}p{line-height:1.7}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.primary{padding:12px 17px;background:var(--green);color:white;border-radius:8px;font-weight:600;white-space:nowrap}.meta{display:flex;gap:18px;align-items:center;color:#849090;font-size:12px;margin:22px 0}.pill{padding:5px 9px;background:#e7f1f1;color:#4d8386;border-radius:6px;font-size:11px}.toolbar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;margin-top:10px;font-size:12px}.seg{background:#e8eeee;border-radius:7px;padding:4px}.seg button{padding:7px 11px;border-radius:5px}.seg button.on{background:white;box-shadow:0 1px 4px #0001}.date-row{display:flex;align-items:center;gap:12px;margin:15px 0;color:#718181;font-size:11px;font-weight:600}.date-row:after{content:'';height:1px;background:var(--line);flex:1}.paper{background:#fffef9;border:1px solid #e8e4d5;border-radius:12px;box-shadow:0 4px 14px #33402a04;position:relative;padding:25px 28px 20px;margin-bottom:26px;scroll-margin-top:25px}.paper:before{content:'';position:absolute;left:0;top:26px;width:3px;height:42px;background:#9cc8ca;border-radius:3px}.paper-header{display:flex;justify-content:space-between;align-items:center}.paper-date{display:flex;gap:13px;align-items:center}.day{font:700 32px Manrope;color:#467072}.paper h2{font:700 18px Manrope;margin:24px 0 10px;letter-spacing:-.4px}.body{white-space:pre-wrap;line-height:1.95;color:#647070;font-size:13px}.tasks{margin-top:18px;display:grid;gap:12px;font-size:12px;color:#647070}.tasks label{display:flex;gap:9px;align-items:center}input[type=checkbox]{accent-color:var(--green)}.paper-footer{border-top:1px dashed #e3e4d6;margin-top:23px;padding-top:16px;display:flex;align-items:center;gap:9px;font-size:11px;color:#8fa0a0}.paper-footer .avatar{width:25px;height:25px}.tag{margin-left:auto;border-radius:5px;background:#f0eddd;color:#96865b;padding:5px 8px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:21px;margin-bottom:18px}.panel h3{font:700 13px Manrope;margin:0 0 19px}.calhead{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:13px;margin-bottom:17px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.calendar div,.calendar button{height:29px;display:flex;justify-content:center;align-items:center;font-size:11px;position:relative;border-radius:6px}.calendar .weekday{font-size:9px;color:#97a3a3}.calendar .marked:after{content:'';width:4px;height:4px;background:#549296;position:absolute;bottom:1px;border-radius:50%}.calendar .selected{background:var(--green);color:white}.calendar .selected:after{background:#b4e4e6}.legend{border-top:1px solid var(--line);margin-top:17px;padding-top:15px;display:flex;align-items:center;gap:8px;font-size:10px;color:#8fa0a0}.stat{display:flex;justify-content:space-between;align-items:center;margin-top:19px;font-size:12px;color:#8e9898}.stat strong{font-size:15px;color:#324b4d}.person{display:flex;gap:10px;align-items:center;margin:16px 0}.person div{font-size:12px}.person .role{margin-left:auto;font-size:9px;color:#769799}.tip{background:#e6f1f1;border:0;color:#648587;font-size:12px;line-height:1.7}.tip b{display:block;color:#4b7072;margin-bottom:5px}.view{display:none}.view.show{display:block}.table{width:100%;border-collapse:collapse;background:white;border-radius:12px;overflow:hidden;margin-top:25px}td,th{padding:19px;text-align:left;border-bottom:1px solid var(--line);font-size:12px}th{color:#879595;font-weight:500}.access{padding:6px;border:1px solid var(--line);border-radius:5px}.overlay{position:fixed;inset:0;background:#14282a73;display:none;place-items:center;z-index:9;padding:20px}.overlay.show{display:grid}.modal{background:#fff;border-radius:15px;padding:28px;width:min(550px,100%)}.modal input,.modal textarea{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:7px;margin:8px 0 17px}.modal textarea{height:170px;resize:vertical}.modal label{font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:15px}.empty{padding:50px;text-align:center;color:#869898}.demo{font-size:10px;padding:6px 9px;background:#f4f3e9;border-radius:5px;color:#98906b}@media(min-width:1600px){.layout{max-width:1450px;margin:auto}}@media(max-width:1150px){aside{width:215px;padding:24px 14px}main{margin-left:215px}.layout{padding:28px 24px;gap:20px;grid-template-columns:minmax(0,1fr) 250px}header{padding:0 24px}.search{width:180px}.heading{align-items:flex-start}h1{font-size:24px}}@media(max-width:900px){.layout{grid-template-columns:1fr}.right{display:grid;grid-template-columns:1fr 1fr;gap:16px}.right .tip{display:none}.search{width:150px}}@media(max-width:650px){aside{position:static;width:100%;padding:16px}.workspace,.label,.bottom,#projectList{display:none}.brand{margin-bottom:10px}aside>nav{display:flex}main{margin-left:0}header{height:65px;padding:15px}.layout{padding:22px 15px}.right{grid-template-columns:1fr}.paper{padding:20px}.meta{gap:9px}.demo{display:none}.heading{flex-wrap:wrap}.table{display:block;overflow:auto}}
.upload-zone{border:1px dashed #acc3c5;background:#f1f8f8;padding:18px;border-radius:9px;text-align:center;margin:10px 0 12px;cursor:pointer}
.upload-zone.drag{background:#dceeef;border-color:#0f6a6f}.upload-zone b{display:block;font-size:12px;margin-bottom:5px}.upload-zone span{font-size:11px;color:#7c9395}.attachments{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.thumb{position:relative;width:92px;height:74px;border:1px solid #d6e4e4;border-radius:8px;background:#e7f1f1;overflow:hidden;padding:0}.thumb img{width:100%;height:100%;object-fit:cover}.remove-image{position:absolute;right:3px;top:3px;background:#fff;border-radius:50%;width:20px;height:20px;box-shadow:0 1px 5px #0003;font-size:12px}.draft-thumb{position:relative}.attachment-heading{font-size:10px;color:#849697;margin-top:20px}.modal{max-height:92vh;overflow:auto}.lightbox{position:fixed;inset:0;background:#101910e8;z-index:30;display:none;align-items:center;justify-content:center;padding:55px 25px}.lightbox.show{display:flex}.lightbox img{max-width:100%;max-height:85vh;object-fit:contain}.lightbox-close{position:absolute;top:20px;right:25px;color:white;font-size:25px}.lightbox-caption{position:absolute;bottom:18px;color:#fff;font-size:12px}

/* ---- Gerçek sistem eklemeleri (özgün görsel dile uygun) ---- */
[hidden]{display:none!important}
.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f8f8}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px 32px;width:min(420px,100%);box-shadow:0 10px 30px #33402a0a}
.auth-card .brand{margin-bottom:26px}
.auth-card h1{font-size:23px;margin:0 0 6px}
.auth-card p{color:#8a9595;font-size:12px;margin:0 0 22px}
.field{display:block;font-size:12px;margin-bottom:15px}
.field input,.field select,.field textarea{display:block;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:7px;margin-top:7px;background:#fff;outline:none;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus,.modal input:focus,.modal textarea:focus{border-color:#93b7b9;box-shadow:0 0 0 3px #25634b14}
.auth-card .primary{width:100%;margin-top:6px;padding:13px}
.form-error{background:#fbefea;color:#9a4b33;border-radius:7px;padding:10px 12px;font-size:12px;margin-bottom:15px}
.ghost{padding:11px 15px;border-radius:8px;border:1px solid var(--line);background:#fff;font-weight:600;white-space:nowrap}
.danger{color:#a24a33}
.icon-btn{width:34px;height:34px;border-radius:8px;border:1px solid var(--line);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#7f8d8d}
.primary:disabled,.ghost:disabled{opacity:.55;cursor:wait}
.pill.view{background:#eef0f4;color:#68728a}
.pill.paused{background:#f4efe1;color:#9a8550}
.pill.done{background:#e9eeee;color:#6f8080}
.modal h2{font:700 19px Manrope,sans-serif}
.modal select{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:7px;margin:8px 0 17px;background:#fff}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.task-editor{display:grid;gap:8px;margin:8px 0 10px}
.task-row{display:flex;gap:9px;align-items:center}
.modal .task-row input[type=text]{margin:0;padding:9px 11px}
.task-row .remove{color:#9cadad;padding:6px}
.add-task{display:block;font-size:12px;color:var(--green);font-weight:600;padding:4px 0;margin-bottom:17px}
.modal-actions .spacer{margin-right:auto}
.colors{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0 17px}
.colors label{position:relative}
.colors input{position:absolute;opacity:0;pointer-events:none}
.colors span{display:block;width:28px;height:28px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.colors input:checked+span{box-shadow:0 0 0 2px var(--green)}
.colors input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.menu{position:absolute;bottom:70px;left:16px;right:16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #1f2e2414;padding:6px;z-index:5}
.menu button{width:100%;text-align:left;padding:10px 12px;border-radius:6px;font-size:13px}
.menu button:hover{background:#eff4f4}
.bottom{position:relative}
.bottom>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:0}
.paper h2 .note-actions{float:right;display:flex;gap:4px}
.paper h2 .note-actions button{font-size:12px;color:#849fa1;padding:2px 6px}
.tasks input:disabled{cursor:not-allowed}
.users-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.table-wrap{overflow:auto;margin-top:25px;border-radius:12px;border:1px solid var(--line);background:#fff}
.table-wrap .table{margin-top:0}
.table td:first-child{min-width:190px}
.user-edit{font-size:11px;color:var(--green);margin-top:6px;padding:0}
.inactive{opacity:.55}
.mobile-project{display:none}
.empty b{display:block;color:var(--ink);font:700 16px Manrope,sans-serif;margin-bottom:6px}
.loading{padding:60px;text-align:center;color:#869898}
@media(max-width:650px){.mobile-project{display:block;padding:9px;border:1px solid var(--line);border-radius:8px;background:#f3f7f7;max-width:150px}header .crumb{display:none}header>div{flex:1;justify-content:space-between}header .search{width:110px;min-width:0}.mobile-project{flex:1;max-width:none}.row2{grid-template-columns:1fr}#usersView{padding:22px 15px!important}}
.modal .task-row input[type=checkbox]{display:inline-block;width:auto;margin:0;padding:0}
.modal .task-row input[type=text]{flex:1}
.modal .colors input{width:1px;height:1px;margin:0}
.modal .check{display:flex;gap:9px;align-items:center;margin:0 0 17px}
.modal .check input{display:inline-block;width:auto;margin:0}

/* Masaüstü: başlık, proje bilgisi ve sağ panel sabit; yalnızca not kâğıtları kayar */
@media(min-width:901px){
  #appView{height:100vh;height:100dvh;overflow:hidden}
  main{height:100%;display:flex;flex-direction:column}
  header{flex:none}
  #notesView.show{flex:1;min-height:0;display:flex;flex-direction:column}
  #noProjects{flex:1;overflow:auto}
  #notesView .layout{flex:1;min-height:0;width:100%;grid-template-rows:minmax(0,1fr);padding-bottom:0}
  #notesView section{display:flex;flex-direction:column;min-height:0}
  #notesView .toolbar{flex:none}
  #notes{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-right:-12px;padding:0 12px 34px 0;scrollbar-width:thin;scrollbar-color:#c9d8d8 transparent}
  #notes>[id^="date-"]{scroll-margin-top:0!important}
  #notes>[id^="date-"]:first-child .date-row{margin-top:2px}
  #notesView .right{min-height:0;overflow-y:auto;padding-bottom:34px;scrollbar-width:thin;scrollbar-color:#c9d8d8 transparent}
  #usersView.show{flex:1;min-height:0;overflow:auto}
}

/* ---- Not kâğıdı (sarı çizgili bloknot) ---- */
:root{--pad:#fcf2c4;--pad-edge:#efe0a0;--pad-rule:#eadb9c;--pad-margin:#e6a79d;--pad-ink:#2c3a3a;--pad-soft:#8c7f4c;--pad-no:#b5a26a;--row:34px}
.pcrumb{font-size:12px;color:#8b9494;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.pcrumb span{color:#aeb9b9}
.pcrumb #crumbProject{color:#6f7a7a}
.head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.head-actions .icon-btn{font-size:18px;line-height:1}
.save-btn{display:inline-flex;gap:8px;align-items:center}
.save-btn svg,.pad svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pad svg .f{fill:currentColor;stroke:none}
.pad{background:var(--pad);border:1px solid var(--pad-edge);border-radius:12px;box-shadow:0 1px 0 #fff8 inset,0 8px 22px #6b5a1212;margin-bottom:28px;scroll-margin-top:0;color:var(--pad-ink);overflow:hidden}
.pad.editing{box-shadow:0 0 0 2px #25634b33,0 10px 26px #6b5a121c}
.pad.drag{outline:2px dashed var(--green);outline-offset:-6px}
.pad-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--pad-rule);flex-wrap:wrap}
.pad-title{font:800 22px/1.25 Manrope,sans-serif;letter-spacing:-.6px;margin:0;color:var(--pad-ink);min-width:0;flex:1;text-wrap:balance}
input.pad-title{background:transparent;border:0;border-bottom:1px dashed transparent;padding:2px 0;outline:none;width:100%}
input.pad-title:focus{border-bottom-color:var(--pad-soft)}
input.pad-title::placeholder{color:#bfae76}
.pad-head-right{display:flex;align-items:center;gap:10px}
.pad-date{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#6c6544;white-space:nowrap}
.pad-date.edit input{background:#fff9;border:1px solid var(--pad-edge);border-radius:7px;padding:5px 8px;color:var(--pad-ink);font-size:12px}
.pad-icon{width:30px;height:30px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--pad-soft)}
.pad-icon:hover,.pad-tools button:hover{background:var(--pad-hover,#f3e3a3)}
.pad-tools{display:flex;align-items:center;gap:4px;padding:8px 20px 8px 64px;border-bottom:1px solid var(--pad-rule);background:var(--pad-tools,#faecb0)}
.pad-tools button{min-width:32px;height:30px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#5f5a3c;font-size:14px;padding:0 7px}
.pad-tools .sep{width:1px;height:18px;background:var(--pad-edge);margin:0 6px}
.pad-tools .pad-del{margin-left:auto;font-size:12px;color:#a24a33}
.pad-tools .pad-del:hover{background:#f6dcc9}
.pad-tools button:focus-visible,.pad-icon:focus-visible,.pad-add:focus-visible,.pad-thumb-img:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.pad-lines{position:relative;background:var(--pad-lines,repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--row) - 1px),var(--pad-rule) calc(var(--row) - 1px),var(--pad-rule) var(--row)))}
.pad-lines:before{content:'';position:absolute;top:0;bottom:0;left:52px;width:1.5px;background:var(--pad-margin);opacity:var(--pad-margin-op,.75)}
.pad .ln{display:grid;grid-template-columns:52px minmax(0,1fr);min-height:var(--row)}
.pad .ln .no{font-size:11.5px;line-height:var(--row);text-align:right;padding-right:14px;color:var(--pad-no);font-variant-numeric:tabular-nums;user-select:none}
.pad .ln .tx{line-height:var(--row);padding:0 18px;font-size:13.5px;color:var(--pad-ink);overflow-wrap:anywhere;min-width:0}
.pad .ln.filler .no{opacity:.55}
.pad textarea.tx{display:block;width:100%;height:var(--row);border:0;margin:0;background:transparent;resize:none;overflow:hidden;outline:none;font:inherit;font-size:13.5px;line-height:var(--row);color:var(--pad-ink);padding:0 18px}
.pad textarea.tx:focus{background:#ffffff5c}
.pad .ln .tx strong{font-weight:700}
.ln-bullet:before{content:'•';color:#a48f4c;margin-right:9px}
.ln-task{display:inline-flex;align-items:center;gap:9px;cursor:pointer}
.ln-task input{accent-color:var(--green);width:15px;height:15px;margin:0}
.ln-task input:disabled{cursor:not-allowed}
.ln-task.done span{text-decoration:line-through;color:#a99c6c}
.pad-lines[data-dbl]{cursor:text}
.pad-attach{padding:18px 24px 20px;border-top:1px solid var(--pad-rule)}
.pad-attach h4{font:700 13px Manrope,sans-serif;margin:0 0 13px;display:flex;align-items:center;gap:8px}
.pad-attach h4 span{font:600 10px 'DM Sans',sans-serif;background:#f1e2a2;color:#7d6f3c;border-radius:10px;padding:2px 7px}
.pad-thumbs{display:flex;gap:14px;flex-wrap:wrap}
.pad-thumb{position:relative;width:168px;max-width:calc(50% - 7px);aspect-ratio:168/100}
.pad-thumb-img{display:block;width:100%;height:100%;padding:0;border-radius:8px;overflow:hidden;border:1px solid #e3d290;background:#fff;box-shadow:0 2px 6px #6b5a1214}
.pad-thumb-img img{width:100%;height:100%;object-fit:cover;display:block}
.pad-thumb-x{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0003;font-size:11px;color:#5f5a3c}
.pad-add{width:168px;max-width:calc(50% - 7px);aspect-ratio:168/100;border:1.5px dashed #d6c379;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a7c45;font-size:12px;font-weight:600;background:#fdf6d6}
.pad-add:hover{background:#fbf0c2;border-color:var(--green);color:var(--green)}
.pad-status{font-size:11px;color:var(--pad-soft);margin-top:10px}
.pad-status:empty{display:none}
.pad-error{margin:0 24px 14px}
.pad-foot{display:flex;align-items:center;gap:8px;padding:12px 24px;border-top:1px dashed #e4d391;font-size:11px;color:#9b8d5c}
.pad-foot .avatar{width:24px;height:24px;font-size:9px}
.pad-foot .sep{opacity:.6}
.pad-foot.hint svg{width:15px;height:15px}
@media(max-width:650px){.pad .ln{grid-template-columns:36px minmax(0,1fr)}.pad-lines:before{left:36px}.pad .ln .no{padding-right:8px}.pad .ln .tx,.pad textarea.tx{padding:0 12px}.pad-head,.pad-attach,.pad-foot{padding-left:16px;padding-right:16px}.pad-tools{padding-left:12px;overflow-x:auto}.pad-title{font-size:19px}.head-actions{width:100%}}
.pad .ln-edit{display:flex;align-items:flex-start;min-width:0}
.pad .ln-edit textarea.tx{flex:1;min-width:0}
.pad .has-mark textarea.tx{padding-left:8px}
.pad .ln-mark{flex:none;margin:calc((var(--row) - 15px)/2) 0 0 18px;width:15px;height:15px;accent-color:var(--green)}
.pad .ln-mark.bullet{width:auto;height:auto;margin-top:0;line-height:var(--row);color:#a48f4c}
.pad .ln.done textarea.tx{text-decoration:line-through;color:#a99c6c}
.pad .ln .tx .ln-task,.pad .ln .tx .ln-bullet{vertical-align:top;line-height:var(--row)}
.pad .ln .tx .ln-task{height:var(--row)}
.pad-date .wd{font-weight:500;color:#9b8d5c;margin-left:2px}
.pad-date.as-btn{padding:6px 10px;border-radius:7px;border:1px solid transparent}
.pad-date.as-btn:hover{background:#f3e3a3;border-color:var(--pad-edge)}
.pad-date.as-btn:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.pad-date.edit{background:#fff9;border:1px solid var(--pad-edge);border-radius:8px;padding:4px 6px 4px 10px;cursor:pointer}
.pad-date.edit:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #25634b1f}
.pad-date.edit input{background:transparent;border:0;padding:3px 2px;font-weight:600;cursor:pointer;outline:none}
.calendar .today{box-shadow:inset 0 0 0 1.5px #9cc8ca;font-weight:700}
.calendar .today.selected{box-shadow:none}
.access-picker{margin:0 0 17px}
.access-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.access-bulk{display:flex;gap:4px;flex-wrap:wrap}
.access-bulk button{font-size:11px;color:var(--green);padding:4px 7px;border-radius:5px}
.access-bulk button:hover{background:#edf4f4}
.access-list{border:1px solid var(--line);border-radius:9px;max-height:260px;overflow:auto}
.access-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.access-row:last-child{border-bottom:0}
.access-row.on{background:#f3f9f9}
.access-name{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;min-width:0}
.access-seg{display:inline-flex;padding:3px}
.modal .access-seg label{position:relative;font-size:11px}
.modal .access-seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.access-seg span{display:block;padding:5px 9px;border-radius:5px;cursor:pointer;color:#6c7777}
.access-seg input:checked+span{background:#fff;box-shadow:0 1px 4px #0001;color:var(--ink);font-weight:600}
.access-seg input[value="2"]:checked+span{color:var(--green)}
.access-seg input:focus-visible+span{outline:2px solid var(--green);outline-offset:1px}
.access-note{margin:8px 0 0}
.modal{width:min(600px,100%)}
.pad-icon.danger-icon{color:#b0705e}
.pad-icon.danger-icon:hover{background:#f6dcc9;color:#a24a33}
.danger-btn{background:#a24a33!important}
.danger-btn:disabled{opacity:.45;cursor:not-allowed}
.danger-box{display:flex;gap:14px;align-items:flex-start;background:#fbefea;border-radius:10px;padding:14px 16px;color:#7d3d2b}
.danger-box p{margin:0;font-size:13px;line-height:1.6}
.danger-ic{flex:none;width:34px;height:34px;border-radius:50%;background:#f6dcc9;display:flex;align-items:center;justify-content:center;color:#a24a33}
.danger-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.danger-q{font-weight:600;color:var(--ink);margin:16px 0 4px}
.countdown{display:flex;gap:18px;align-items:center;padding:6px 0 14px}
.countdown p{margin:0;font-size:13px;color:#647070;line-height:1.7}
.ring{flex:none;width:64px;height:64px;border-radius:50%;border:3px solid #f0c9bb;display:flex;align-items:center;justify-content:center;font:800 26px Manrope,sans-serif;color:#a24a33;font-variant-numeric:tabular-nums}
.ring.done{background:#a24a33;border-color:#a24a33;color:#fff}
@media (prefers-reduced-motion:no-preference){.ring span{display:inline-block;animation:cdpop 1s ease-out infinite}.ring.done span{animation:none}}
@keyframes cdpop{0%{transform:scale(1.18)}30%{transform:scale(1)}}
.pad-share{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.pad-act{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:7px;border:1px solid var(--pad-edge);background:#fff8;color:#5f5a3c;font-size:11.5px;font-weight:600;text-decoration:none;cursor:pointer}
.pad-act:hover{background:#fff;border-color:#d6c379}
.pad-act.wa{color:#1d7f4a}
.pad-act.wa:hover{border-color:#25d366}
.pad-act:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.pad-foot{flex-wrap:wrap}
.modal textarea#copyArea{font:12px/1.6 'DM Sans',sans-serif;margin-top:0}

/* Sıkılaştırılmış başlık alanı: üst çubuk masaüstünde kaldırıldı, arama araç satırına taşındı */
@media(min-width:651px){main>header{display:none}}
#notesView .layout{padding-top:24px}
.pcrumb{margin-bottom:2px}
#notesView h1{margin:4px 0 2px}
#notesView .heading p{margin:2px 0 0!important}
#notesView .meta{margin:12px 0 0}
#notesView .toolbar{margin-top:14px;padding:12px 0 14px;gap:12px;flex-wrap:wrap}
.toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.toolbar .search{width:220px;padding:8px 12px;background:#fff}
#usersView{padding-top:28px!important}
@media(min-width:901px){#notesView .right{padding-top:0}}
@media(max-width:650px){.toolbar-right{width:100%}.toolbar .search{flex:1;width:auto;min-width:0}}

/* ---- Kullanıcı listesi ---- */
.ulist-head{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px;font-size:12px;color:#7c8888}
.ulist{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.urow{display:grid;grid-template-columns:minmax(200px,1.3fr) 150px minmax(160px,1.7fr) 96px 250px;gap:18px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.urow:last-child{border-bottom:0}
.urow:hover{background:#f8fbfb}
.urow.off .who,.urow.off .projects,.urow.off .role{opacity:.5}
.ucell{min-width:0}
.who{display:flex;align-items:center;gap:12px}
.uinfo{display:flex;flex-direction:column;gap:3px;min-width:0}
.uinfo b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uinfo .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.role{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.projects{display:flex;flex-wrap:wrap;gap:6px}
.pchip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:20px;background:#eff4f4;font-size:11px;color:#4f5b5b;white-space:nowrap}
.pchip .dot{width:6px;height:6px}
.pchip b{color:var(--green);font-weight:600;font-size:10px}
.pchip.all{background:#e7f1f1;color:#4d8386}
.pchip.none{background:transparent;border:1px dashed #d2dcdc;color:#97a3a3}
.pchip.more{background:#e4ecec}
.status{display:flex;align-items:center;gap:9px}
.slabel{font-size:12px;color:#5f6b6b}
.urow.off .slabel{color:#a24a33}
.switch{width:38px;height:22px;border-radius:12px;background:#d1dbdb;position:relative;flex:none;transition:background .15s}
.switch span{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.switch[aria-checked="true"]{background:var(--green)}
.switch[aria-checked="true"] span{transform:translateX(16px)}
.switch:disabled{opacity:.45;cursor:not-allowed}
.switch:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.ghost.sm{padding:8px 11px;font-size:12px;display:inline-flex;align-items:center;gap:7px}
.ghost.sm .count{background:#edf4f4;color:var(--green);border-radius:10px;padding:1px 7px;font-size:11px}
.icon-btn.del{color:#b0705e}
.icon-btn.del:hover{background:#fbefea;color:#a24a33}
.icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ap-check{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:600;cursor:pointer;min-width:0;flex:1}
.modal .ap-check input{display:inline-block;width:16px;height:16px;margin:0;accent-color:var(--green);flex:none}
.ap-count{font-size:12px;color:#7c8888}
.access-row:not(.on) .access-seg{opacity:.4}
.modal .access-seg input:disabled+span{cursor:not-allowed}
@media(max-width:1100px){.urow{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px}.urow .role{grid-column:1;flex-direction:row;align-items:center}.urow .projects{grid-column:1}.urow .status{grid-column:2;grid-row:1}.urow .actions{grid-column:2;grid-row:2 / span 2;align-self:end}}
@media(max-width:560px){.urow{grid-template-columns:1fr}.urow .status,.urow .actions{grid-column:1;grid-row:auto;justify-content:flex-start}}
.pill.member,.pill.viewonly{background:#eef0f4;color:#68728a}

/* ---- Not başlık listesi ve ayrıntı çubuğu ---- */
.nlist{display:flex;flex-direction:column;gap:18px;padding-bottom:30px}
.nlist-q{font-size:12px;color:#7c8888}
.ngroup{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.ngroup-head{width:100%;display:flex;align-items:center;gap:12px;padding:12px 18px;background:#fbf6dc;border-bottom:1px solid #f0e5b4;text-align:left}
.ngroup-head:hover{background:#f8efc8}
.ngroup-head .nday{font:800 24px/1 Manrope,sans-serif;color:#7a6a2f;min-width:30px;font-variant-numeric:tabular-nums}
.ngroup-head b{display:block;font-size:12px;text-transform:capitalize}
.ngroup-head small{font-size:11px;color:#9b8d5c;text-transform:capitalize}
.ngroup-head .ncount{margin-left:auto;font-size:11px;color:#8c7f4c;background:#fff8;border-radius:10px;padding:3px 9px}
.nrow{width:100%;display:flex;align-items:center;gap:16px;padding:14px 18px 14px 60px;border-bottom:1px solid var(--line);text-align:left;position:relative}
.nrow:last-child{border-bottom:0}
.nrow:before{content:'';position:absolute;left:33px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:#d9c77f}
.nrow:hover{background:#f6fbfb}
.nrow:hover b{color:var(--green)}
.nrow:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.nrow-main{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.nrow-main b{font:700 14.5px Manrope,sans-serif;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nrow-main .snip{font-size:12px;color:#7f8a8a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nrow-meta{display:flex;align-items:center;gap:12px;flex:none;font-size:11px;color:#7f8a8a}
.nm{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.nm svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nm.ok{color:var(--green)}
.nm.who .avatar{width:22px;height:22px;font-size:9px}
.chev{font-size:20px;color:#b4bfbf;line-height:1}
.detail-bar{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.detail-bar .back{padding:8px 12px;border-radius:8px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:12px;color:var(--green)}
.detail-bar .back:hover{background:#edf4f4}
.detail-bar .back:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.detail-bar .dtitle{font-weight:700;font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:650px){.nrow{padding-left:18px}.nrow:before{display:none}.nrow-meta .who{display:none}}
.cc{display:inline-flex;align-items:baseline;gap:4px;padding:3px 9px;border-radius:12px;background:#eff4f4;color:#6b7777;font-size:11px;white-space:nowrap}
.cc b{font-size:12.5px;color:var(--ink);font-variant-numeric:tabular-nums}
.cc.open{background:#fbf1dc;color:#8a6a24}
.cc.open b{color:#7a5a14}
.cc.ok{background:#e7f1f1;color:#4d8386}
.cc.ok b{color:var(--green)}
.ghead-counts{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ngroup-head .cc{background:#fff9}
.ngroup-head .cc.open{background:#fdf3dc}
.ngroup-head .cc.ok{background:#eaf5f5}
@media(max-width:650px){.nrow{flex-wrap:wrap}.nrow-meta{width:100%;flex-wrap:wrap}.ngroup-head{flex-wrap:wrap}}
.nrow{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:6px}
.nrow-top,.nrow-bottom{grid-column:1;display:flex;align-items:center;gap:14px;min-width:0}
.nrow-top{justify-content:space-between}
.nrow-bottom{justify-content:space-between}
.nrow .chev{grid-column:2;grid-row:1 / span 2;align-self:center}
.nrow-title{font:700 14.5px Manrope,sans-serif;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.nrow:hover .nrow-title{color:var(--green)}
.nrow .snip{font-size:12px;color:#7f8a8a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.nrow .nm.who{flex:none;font-size:11.5px;color:#6b7777}
.nrow .nrow-meta{display:flex;gap:6px;flex:none}
.cc svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;align-self:center}
@media(max-width:650px){.nrow-bottom{flex-wrap:wrap}.nrow .nm.who{display:inline-flex}}
.ghead-authors{margin-left:auto;display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.ngroup-head .nm.who{font-size:11.5px;color:#6c6544;gap:7px}
.ngroup-head .nm.who .avatar{width:24px;height:24px;font-size:9px;box-shadow:0 0 0 2px #fbf6dc}
.nrow-top{min-height:20px}

/* ---- Herkese açık not ---- */
.public{min-height:100vh;background:#f4f8f8;padding:32px 16px 48px}
.public-wrap{max-width:900px;margin:0 auto}
.public-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.public-tag{font-size:12px;color:#7c8888;background:#fff;border:1px solid var(--line);border-radius:20px;padding:5px 12px}
.public-top .ghost{margin-left:auto}
.public-note{font-size:12px;color:#8a9595;text-align:center;margin-top:18px}
.pad-act.link{color:#3d5f8a}
.pad-act.link.on{background:#e8f0fa;border-color:#b8cde6}
.link-box{display:flex;gap:8px;margin:6px 0 12px}
.modal .link-box input{margin:0;flex:1;min-width:0;font-size:12px;background:#f3f7f7}
.link-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.link-actions .ghost{text-decoration:none;color:var(--ink)}
.link-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.link-actions svg .f{fill:currentColor;stroke:none}

/* ---- Değişiklik logları ---- */
.pad-logbar{display:flex;justify-content:flex-end;padding:8px 18px 0}
.logbtn{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:20px;background:#fff9;border:1px solid var(--pad-edge);font-size:11.5px;font-weight:600;color:#6c6544}
.logbtn:hover{background:#fff;border-color:#d6c379;color:var(--ink)}
.logbtn:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.logbtn b{background:#f1e2a2;color:#7d6f3c;border-radius:10px;padding:0 7px;font-size:10.5px;font-variant-numeric:tabular-nums}
.logbtn svg{width:15px;height:15px}
.pad-logbar+.pad-head{padding-top:8px}
.modal.wide{width:min(720px,100%)}
.logs{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid #e2ebeb;display:flex;flex-direction:column;gap:16px;max-height:60vh;overflow:auto}
.log{position:relative;padding-left:14px}
.log:before{content:'';position:absolute;left:-21px;top:12px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #93b7b9}
.log-head{display:flex;align-items:center;gap:10px}
.log-head .avatar{width:30px;height:30px;font-size:10px;flex:none}
.log-head div{display:flex;flex-direction:column;gap:1px;min-width:0}
.log-head div b{font-size:13px}
.log-head div span{font-size:11.5px;color:#7c8888}
.log-head time{margin-left:auto;text-align:right;font-size:11px;color:#7c8888;display:flex;flex-direction:column;flex:none}
.log-head time b{font-size:13px;color:var(--ink);font-variant-numeric:tabular-nums}
.log-changes{list-style:none;margin:8px 0 0;padding:10px 12px;background:#fbfaf3;border:1px solid #efe9cf;border-radius:9px;display:flex;flex-direction:column;gap:6px}
.lc{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;line-height:1.5;color:#3f4a4a}
.lc i{flex:none;width:20px;height:20px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:700}
.lc i svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lc span{min-width:0;overflow-wrap:anywhere}
.lc s{color:#9a8f86}
.lc.add i,.lc.create i{background:#dff0f0;color:#2d696d}
.lc.remove i{background:#f8e4dc;color:#a24a33}
.lc.edit i{background:#e8eef6;color:#3d5f8a}
.lc.check i{background:#dff0f0;color:var(--green)}
.lc.uncheck i{background:#f3efe1;color:#8a7c45}
.lc.share i{background:#e8f0fa;color:#3d5f8a}
.logs{border-left:0;padding-left:26px;background:linear-gradient(#e2ebeb,#e2ebeb) 9px 0/2px 100% no-repeat}
.log{padding-left:0}
.log:before{left:-22px}

/* ---- Satır yazarı ve kilitli satırlar ---- */
.ln-author{float:right;margin-left:10px;font-size:10.5px;line-height:1;padding:4px 8px;border-radius:10px;background:#f3e6ae;color:#7a6a2f;white-space:nowrap;position:relative;top:9px}
.pad .ln-edit .ln-author{float:none;align-self:center;top:0;margin-right:12px;flex:none}
.pad .ln.locked textarea.tx{cursor:not-allowed;color:#4f5a5a}
.pad .ln.locked{background:#fbefb85c}
.pad .ln.locked textarea.tx:focus{background:#f6e7a855}
input.pad-title[readonly]{cursor:not-allowed}
.pad-date.edit input:disabled{cursor:not-allowed;opacity:.7}

/* ---- Yazanlar etiket bulutu ---- */
.author-cloud{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.ac-label{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#929b9b;text-transform:uppercase;margin-right:4px}
.ac-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 10px 4px 4px;border-radius:20px;background:#eff4f4;border:1px solid transparent;font-size:calc(12px * var(--w,1));color:var(--ink);transition:background .12s}
.ac-chip .avatar{width:calc(22px * var(--w,1));height:calc(22px * var(--w,1));font-size:9px}
.ac-chip b{font-size:11px;background:#fff;border-radius:10px;padding:1px 7px;color:#6b7777;font-variant-numeric:tabular-nums}
.ac-chip:hover{background:#e5efef}
.ac-chip.on{background:var(--green);color:#fff}
.ac-chip.on b{color:var(--green)}
.ac-chip:focus-visible,.ac-clear:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.ac-clear{font-size:11.5px;color:var(--green);padding:4px 8px;font-weight:600}

/* ---- Not görünürlüğü ---- */
.vis-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:4px 9px;border-radius:12px;background:#fff9;border:1px solid var(--pad-edge);color:#6c6544;white-space:nowrap}
.vis-badge.private{background:#f6e4dc;border-color:#ecc6b6;color:#8a3f2a}
.vis-badge.users{background:#e8f0fa;border-color:#c5d6ec;color:#3d5f8a}
.nrow-top .vis-badge{font-size:10.5px;padding:2px 8px}
.vis-opts{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.vis-opt{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:13px}
.vis-opt:hover{background:#f8fbfb}
.vis-opt:has(input:checked){border-color:var(--green);background:#f1f8f8;box-shadow:0 0 0 1px var(--green)}
.modal .vis-opt input{display:inline-block;width:16px;height:16px;margin:2px 0 0;accent-color:var(--green);flex:none}
.vo-ic{font-size:18px;line-height:1}
.vis-opt b{display:block}
.vis-opt small{display:block;color:#7c8888;font-size:11.5px;margin-top:2px;line-height:1.5}
.vis-people{border:1px solid var(--line);border-radius:10px;max-height:220px;overflow:auto;margin-bottom:12px}
.vp{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line);cursor:pointer;font-size:13px}
.vp:last-child{border-bottom:0}
.vp:has(input:checked){background:#f1f8f8}
.modal .vp input{display:inline-block;width:16px;height:16px;margin:0;accent-color:var(--green)}
.vp .avatar{width:28px;height:28px;font-size:10px}
.vp small{display:block;color:#7c8888;font-size:11px}

/* ===== Kurumsal kimlik: esnotes ===== */
:root{--brand:#0f6a6f;--brand-dark:#0b5155;--brand-mint:#55b3a6;--brand-amber:#f3ae4c;--brand-ink:#243036;--brand-tint:#e6f2f1}
.primary{background:var(--brand)}
.primary:hover{background:var(--brand-dark);filter:none}
.brand-logo{display:block;height:40px;width:auto;max-width:100%}
aside .brand{margin-left:2px}
.nav.active{background:var(--brand-tint);color:var(--brand)}
.project.active{background:#eef5f5}
.project.active:before{content:'';position:absolute;left:-20px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:var(--brand-amber)}
.project{position:relative}
#toast{background:var(--brand-ink)!important;box-shadow:0 8px 24px #24303633}
.calendar .today{box-shadow:inset 0 0 0 1.5px var(--brand-amber)}
.calendar .marked:after{background:var(--brand-mint)}
.ac-chip.on{background:var(--brand)}
.tip{background:var(--brand-tint)}

/* --- Giriş ekranı --- */
.auth{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);padding:0;min-height:100vh;background:#fff}
.auth-hero{position:relative;overflow:hidden;color:#e9f6f5;padding:48px 56px;display:flex;flex-direction:column;gap:36px;
  background:
    radial-gradient(120% 80% at 100% 0%,#55b3a633 0%,transparent 60%),
    linear-gradient(160deg,#0f6a6f 0%,#0b5155 62%,#093f43 100%)}
.auth-hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0 33px,#ffffff0d 33px 34px);pointer-events:none}
.auth-hero:after{content:'';position:absolute;right:0;bottom:0;width:150px;height:150px;background:linear-gradient(135deg,transparent 50%,var(--brand-amber) 50%);border-top-left-radius:46px;opacity:.95}
.hero-top{display:flex;align-items:center;gap:12px;font-weight:600;font-size:13px;letter-spacing:.2px;position:relative}
.hero-icon{width:44px;height:44px;border-radius:12px;background:#fff;display:grid;place-items:center;box-shadow:0 6px 18px #0003}
.hero-icon img{width:32px;height:32px}
.hero-copy{position:relative;max-width:470px}
.hero-copy h2{font:800 34px/1.15 Manrope,sans-serif;letter-spacing:-1px;color:#fff;margin:0 0 14px;text-wrap:balance}
.hero-copy p{font-size:15px;color:#cfe9e6;margin:0 0 26px}
.hero-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.hero-points li{position:relative;padding-left:32px;font-size:13px;color:#cfe9e6;line-height:1.55}
.hero-points li:before{content:'✓';position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;background:#55b3a640;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.hero-points b{display:block;color:#fff;font-size:13.5px}
.hero-pad{position:relative;max-width:430px;background:#fcf2c4;color:#2c3a3a;border-radius:12px;box-shadow:0 18px 40px #0004;transform:rotate(-2deg);margin-top:auto;
  background-image:repeating-linear-gradient(to bottom,transparent 0 33px,#eadb9c 33px 34px)}
.hp-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #eadb9c;background:#fcf2c4;border-radius:12px 12px 0 0}
.hp-head b{font:800 14px Manrope,sans-serif}
.hp-head span{font-size:11px;color:#8c7f4c}
.hp-line{display:grid;grid-template-columns:38px 1fr;height:34px;align-items:center;font-size:12.5px}
.hp-line i{font-style:normal;text-align:right;padding-right:10px;color:#b5a26a;font-size:11px;border-right:1.5px solid #e6a79d;height:100%;display:flex;align-items:center;justify-content:flex-end}
.hp-line span{padding-left:12px}
.hp-check:before{content:'';display:inline-block;width:12px;height:12px;border:1.5px solid #8c7f4c;border-radius:3px;margin-right:8px;vertical-align:-1px}
.hp-check.on{text-decoration:line-through;color:#a99c6c}
.hp-check.on:before{background:var(--brand);border-color:var(--brand)}
.hero-foot{position:relative;font-size:11px;color:#9fcfca}
.auth-side{display:grid;place-items:center;padding:40px 24px;background:#f4f8f8}
.auth-card{box-shadow:0 20px 50px #0f6a6f14;border-color:#e3ecec}
.auth-logo{display:block;width:240px;max-width:100%;height:auto;margin:0 0 28px}
.auth-card h1{color:var(--brand-ink)}
.auth-card .primary{height:46px;font-size:14px}
.field input:focus{border-color:var(--brand-mint);box-shadow:0 0 0 3px #55b3a633}
.preview-box{background:var(--brand-tint)}
@media(max-width:900px){.auth{grid-template-columns:1fr}.auth-hero{padding:28px 22px;gap:18px}.hero-copy h2{font-size:24px}.hero-points,.hero-pad,.hero-foot,.auth-hero:after{display:none}.hero-copy p{margin:0}}
/* Kurulum sayfası ve paylaşılan not */
.public-top .brand-logo{height:36px}
/* Giriş ekranı: anlatım ve görsel sahne */
.auth-hero{gap:30px}
.hero-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.hero-steps li{display:flex;gap:14px;align-items:flex-start;font-size:13px;color:#cfe9e6;line-height:1.55}
.hero-steps li>span{flex:none;width:28px;height:28px;border-radius:9px;background:var(--brand-amber);color:#243036;font:800 13px Manrope,sans-serif;display:grid;place-items:center;box-shadow:0 4px 12px #0003}
.hero-steps b{display:block;color:#fff;font-size:14px;margin-bottom:1px}
.hero-visual{position:relative;margin-top:auto;min-height:290px;max-width:560px}
.hero-visual .hero-pad{position:absolute;left:0;bottom:10px;width:min(400px,78%);margin:0}
.hp-line em{font-style:normal;font-size:10px;background:#f3e6ae;color:#7a6a2f;border-radius:9px;padding:2px 7px;margin-right:12px;justify-self:end}
.hp-line{grid-template-columns:38px 1fr auto}
.hero-cal{position:absolute;right:0;top:0;width:200px;background:#fff;color:#243036;border-radius:14px;padding:14px;box-shadow:0 18px 40px #0005;transform:rotate(3deg)}
.hc-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.hc-head b{font:800 13px Manrope,sans-serif}
.hc-head span{font-size:10px;color:#7c8a8a}
.hc-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;font-size:10px}
.hc-grid i{font-style:normal;color:#9aa6a6;font-size:9px}
.hc-grid span{height:20px;display:grid;place-items:center;border-radius:5px;position:relative}
.hc-grid .m:after{content:'';position:absolute;bottom:1px;width:3px;height:3px;border-radius:50%;background:var(--brand-mint)}
.hc-grid .sel{background:var(--brand);color:#fff;font-weight:700}
.hero-team{position:absolute;right:24px;bottom:0;display:flex;align-items:center;gap:10px;background:#fff;color:#243036;border-radius:40px;padding:8px 16px 8px 8px;box-shadow:0 14px 30px #0004;z-index:2}
.ht-av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:800;color:#fff;border:2px solid #fff;margin-right:-16px}
.ht-av:nth-child(3){margin-right:2px}
.hero-team b{display:block;font-size:12px}
.hero-team small{font-size:10.5px;color:#7c8a8a}
@media(max-width:1200px){.hero-cal{width:170px}.hero-visual .hero-pad{width:74%}}
@media(max-width:900px){.hero-steps,.hero-visual{display:none}}
.auth{place-items:stretch;align-items:stretch;justify-items:stretch}.auth-side{min-height:100vh}.auth-hero{min-height:100vh}@media(max-width:900px){.auth-hero{min-height:0}.auth-side{min-height:0;padding-top:28px}}
/* Sol menü: proje listesi uzunsa kendi içinde kayar; kullanıcı kutusu hep altta görünür */
aside{overflow:hidden}
aside>.brand,aside>.workspace,aside>nav,aside>.label,#newProjectBtn,aside>.bottom{flex:none}
#projectList{flex:0 1 auto;min-height:60px;overflow-y:auto;overscroll-behavior:contain;margin:0 -8px;padding:0 8px;scrollbar-width:thin;scrollbar-color:#c9d6d6 transparent}
#projectList .project.active:before{left:-8px}
@media(max-height:760px){aside .workspace{display:none}aside .label{margin-top:18px}}

/* ---- Daraltılabilir sol menü ---- */
aside .brand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.brand-icon{display:none;width:40px;height:40px}
.side-toggle{flex:none;width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:#5b6b6b}
.side-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.side-toggle:hover{background:var(--brand-tint);color:var(--brand);border-color:#cfe2e1}
.side-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.nav .ni,.new-project .ni{width:18px;text-align:center;flex:none}
.nav .nc{margin-left:auto}
.new-project{color:#8c9c9c;margin-top:10px}
.project .pi{display:none}
.project .pname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
aside,main{transition:width .2s ease,margin-left .2s ease}
.side-tip{position:fixed;z-index:50;transform:translateY(-50%);background:var(--brand-ink);color:#fff;font-size:12px;font-weight:600;padding:6px 10px;border-radius:7px;white-space:nowrap;pointer-events:none;box-shadow:0 6px 18px #0003}
.side-tip:before{content:'';position:absolute;left:-5px;top:50%;margin-top:-5px;border:5px solid transparent;border-left:0;border-right-color:var(--brand-ink)}
@media(min-width:651px){
  body.side-collapsed aside{width:76px!important;padding:24px 12px!important;overflow:visible}
  body.side-collapsed main{margin-left:76px!important}
  body.side-collapsed .brand{flex-direction:column;gap:12px;margin-left:0}
  body.side-collapsed .brand-logo,body.side-collapsed .workspace,body.side-collapsed .label,body.side-collapsed .nl,body.side-collapsed .nc,body.side-collapsed .pname,body.side-collapsed .pcount,body.side-collapsed .project .dot,body.side-collapsed .me-text,body.side-collapsed .me-chev{display:none!important}
  body.side-collapsed .brand-icon{display:block}
  body.side-collapsed .side-toggle svg{transform:rotate(180deg)}
  body.side-collapsed nav{margin-top:18px}
  body.side-collapsed .nav{justify-content:center;padding:12px 0}
  body.side-collapsed .nav .ni{font-size:16px}
  body.side-collapsed #projectList{margin:14px -12px 0;padding:0 12px;display:flex;flex-direction:column;gap:6px;align-items:center}
  body.side-collapsed .project{justify-content:center;padding:4px;width:auto}
  body.side-collapsed .project.active{background:none}
  body.side-collapsed .project .pi{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;font:800 13px Manrope,sans-serif;letter-spacing:-.3px;color:#fff;background:var(--c,#7ca3a5);box-shadow:inset 0 0 0 1px #0000000d}
  body.side-collapsed .project.active .pi{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--brand)}
  body.side-collapsed .project.active:before{left:-12px;top:6px;bottom:6px}
  body.side-collapsed .project:hover .pi{filter:brightness(1.06);transform:translateY(-1px)}
  body.side-collapsed .new-project{justify-content:center;padding:10px 0;margin-top:6px;font-size:18px}
  body.side-collapsed .bottom{justify-content:center}
  body.side-collapsed .bottom>button{justify-content:center}
  body.side-collapsed .menu{left:8px;right:auto;width:200px;bottom:62px}
}
.new-project .nl{margin-left:0!important;font-size:13px!important;color:inherit!important}

/* ---- Giriş ekranı: ekran boyutuna göre yerleşim ---- */
@media(min-width:901px){
  .auth{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  .auth-hero{height:100%;min-height:0;padding:clamp(24px,5vh,48px) clamp(28px,4vw,56px);gap:clamp(14px,3.2vh,30px)}
  .auth-side{height:100%;min-height:0;overflow-y:auto;padding:clamp(16px,4vh,40px) clamp(16px,3vw,40px)}
  .auth-card{margin:auto}
  .hero-copy h2{font-size:clamp(24px,3.6vh + .6vw,36px)}
  .hero-copy p{font-size:clamp(13px,1.7vh,15px);margin-bottom:clamp(12px,2.6vh,26px)}
  .hero-steps{gap:clamp(8px,1.8vh,16px)}
  .hero-visual{flex:1 1 auto;min-height:0;max-height:330px;width:100%}
  .hero-visual .hero-pad{bottom:4%;width:min(400px,72%)}
  .hero-cal{width:clamp(160px,15vw,200px)}
  .auth-hero:after{width:clamp(90px,12vh,150px);height:clamp(90px,12vh,150px)}
}
/* Kısa ekranlar (laptop, tarayıcı çubukları açıkken) */
@media(min-width:901px) and (max-height:860px){
  .auth-logo{width:200px;margin-bottom:20px}
}
@media(min-width:901px) and (max-height:740px){
  .hero-visual{min-height:150px}
  .hero-foot{display:none}
}
/* Çok kısa ekranlar: adımlar gizlenir, not görseli küçülerek kalır */
@media(min-width:901px) and (max-height:600px){
  .hero-steps{display:none}
  .hero-copy p{margin-bottom:0}
  .hero-visual{min-height:120px;max-height:none}
}
@media(min-width:901px) and (max-height:440px){
  .hero-team{display:none}
  .hero-copy p{display:none}
}
@media(min-width:901px) and (max-height:340px){.hero-visual{display:none}}
@media(max-width:900px){.auth{height:auto;min-height:100vh;grid-template-rows:auto 1fr;align-content:stretch}.auth-hero{height:auto}.auth-side{min-height:0}}
/* Orta genişlik (tablet yatay, küçük laptop) */
@media(min-width:901px) and (max-width:1180px){
  .auth{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hero-team{right:0}
  .hero-steps li{font-size:12.5px}
}

/* Not görseli tek sahne: sabit boyutlu sahne, ekran yüksekliğine göre bütün olarak ölçeklenir */
@media(min-width:901px){
  .hero-visual{flex:none;width:560px;height:320px;min-height:0;max-height:none;max-width:none;margin-top:auto;zoom:1}
  .hero-visual .hero-pad{left:0;bottom:12px;width:400px}
  .hero-cal{right:0;top:0;width:200px}
  .hero-team{right:20px;bottom:0}
}
@media(min-width:901px) and (max-width:1180px){.hero-visual{zoom:.82}}
@media(min-width:901px) and (max-height:860px){.hero-visual{zoom:.8}}
@media(min-width:901px) and (max-height:740px){.hero-visual{zoom:.66}}
@media(min-width:901px) and (max-height:600px){.hero-visual{zoom:.6}}
@media(min-width:901px) and (max-height:520px){.hero-visual{zoom:.52}}
@media(min-width:901px) and (max-height:440px){.hero-visual{zoom:.42}.hero-team{display:block}}
@media(min-width:901px) and (max-width:1180px) and (max-height:740px){.hero-visual{zoom:.58}}
@media(min-width:901px) and (max-width:1180px) and (max-height:520px){.hero-visual{zoom:.48}}

/* Giriş: yeşil panel daha dar, form kalan alanın ortasında; arka planda belli belirsiz çizimler */
.auth-side{position:relative;overflow:hidden}
.auth-side .auth-card{position:relative;z-index:1}
.side-decor{position:absolute;inset:0;pointer-events:none;z-index:0;color:var(--brand)}
.sd{position:absolute;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.075}
.sd-note{top:7%;left:6%;width:clamp(110px,11vw,170px);transform:rotate(-8deg)}
.sd-pencil{top:11%;right:7%;width:clamp(140px,14vw,220px);transform:rotate(-28deg)}
.sd-cal{bottom:8%;left:7%;width:clamp(120px,11vw,170px);transform:rotate(5deg)}
.sd-chart{bottom:7%;right:6%;width:clamp(150px,14vw,220px)}
.sd-donut{top:46%;left:3%;width:clamp(70px,6vw,100px)}
.sd-check{top:44%;right:3%;width:clamp(100px,9vw,140px);transform:rotate(4deg)}
@media(min-width:901px){
  .auth,.auth{grid-template-columns:clamp(420px,38vw,620px) minmax(0,1fr)}
  /* sahne daha dar panele göre yeniden düzenlendi */
  .hero-visual{width:470px;height:300px}
  .hero-visual .hero-pad{width:340px;bottom:10px}
  .hero-cal{width:176px}
  .hero-team{right:6px}
}
@media(min-width:901px) and (max-width:1400px){.hero-visual{zoom:.86}}
@media(min-width:901px) and (max-width:1180px){.hero-visual{zoom:.74}.hero-steps li{font-size:12px}}
@media(min-width:901px) and (max-height:860px){.hero-visual{zoom:.8}}
@media(min-width:901px) and (max-height:740px){.hero-visual{zoom:.66}}
@media(min-width:901px) and (max-height:600px){.hero-visual{zoom:.6}}
@media(min-width:901px) and (max-height:520px){.hero-visual{zoom:.52}}
@media(min-width:901px) and (max-height:440px){.hero-visual{zoom:.42}}
@media(min-width:901px) and (max-width:1180px) and (max-height:860px){.hero-visual{zoom:.7}}
@media(min-width:901px) and (max-width:1180px) and (max-height:740px){.hero-visual{zoom:.6}}
@media(min-width:901px) and (max-width:1180px) and (max-height:520px){.hero-visual{zoom:.48}}
@media(max-height:560px){.sd-donut,.sd-check{display:none}}
@media(max-width:900px){.side-decor{display:none}}

/* Görünürlük: "Projeye yetkisi olan herkes" altında kişi listesi */
.vis-everyone{margin:-6px 4px 0;border:1px solid #cfe3e3;border-top:0;border-radius:0 0 10px 10px;background:#fafdfd;max-height:190px;overflow:auto}
.vis-everyone[hidden]{display:none}
.ve-head{position:sticky;top:0;background:#fafdfd;display:flex;justify-content:space-between;padding:8px 12px 6px;font-size:11px;font-weight:600;color:#5d6b6b;border-bottom:1px solid var(--line)}
.ve-head span{font-weight:500;color:#8a9595}
.ve-row{display:flex;align-items:center;gap:10px;padding:7px 12px;font-size:12.5px;border-bottom:1px solid #eef3f3}
.ve-row:last-child{border-bottom:0}
.ve-row .avatar{width:26px;height:26px;font-size:10px;flex:none}
.ve-row>span{flex:1;min-width:0}
.ve-row em{font-style:normal;color:#8a9595;font-size:11px}
.ve-row small{display:block;color:#8a9595;font-size:10.5px}
.ve-lvl{font-style:normal;font-size:10.5px;padding:2px 8px;border-radius:20px;background:#eef3f3;color:#5d6b6b;white-space:nowrap}
.ve-lvl.l3{background:#e3f1ef;color:var(--green)}
.ve-lvl.l1{background:#fff4e2;color:#a46a12}

/* Profil görseli / avatar */
.avatar.pic{overflow:hidden;padding:0;background:#fff}
.avatar.pic>img,.avatar.pic>svg{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}

/* Kullanıcılar: kart görünümü */
.ucards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.ucard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 6px 18px #0f6a6f08;transition:box-shadow .15s,transform .15s}
.ucard:hover{box-shadow:0 12px 28px #0f6a6f14;transform:translateY(-1px)}
.ucard.super{border-color:#f3ae4c88;background:linear-gradient(180deg,#fffaf1 0,#fff 70px)}
.ucard.off{background:#fafbfb}.ucard.off .uc-top,.ucard.off .uc-projects{opacity:.55}
.uc-top{display:flex;gap:14px;align-items:flex-start}
.uc-av{width:56px;height:56px;font-size:17px;flex:none}
.uc-id{min-width:0;display:flex;flex-direction:column;gap:2px}
.uc-id b{font-size:15px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uc-id .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uc-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
.pill.super{background:#fdf0da;color:#a46a12;font-weight:600}
.uc-title{font-size:11px;color:#7c8888}
.uc-stats{display:flex;gap:16px;font-size:12px;color:#7c8888;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.uc-stats b{color:var(--ink);font-size:14px;margin-right:2px}
.uc-stats .on{margin-left:auto;color:#2f8a63}.uc-stats .offtxt{margin-left:auto;color:#b0563a}
.uc-projects{display:flex;flex-wrap:wrap;gap:6px;min-height:24px}
.uc-foot{display:flex;align-items:center;gap:10px;margin-top:auto}
.uc-switch{display:flex;align-items:center;gap:8px;font-size:12px}
.uc-lock{font-size:11.5px;color:#8a9595}
.uc-actions{margin-left:auto;display:flex;gap:8px;align-items:center}
.icon-btn:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:560px){.ucards{grid-template-columns:1fr}}

/* Profil fotoğrafı penceresi */
.pf-wrap{display:flex;gap:18px;align-items:center;margin-bottom:14px}
.pf-big{width:96px;height:96px;font-size:28px;flex:none}
.pf-side{display:flex;flex-direction:column;gap:4px;min-width:0}
.pf-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.pf-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin:10px 0 18px}
.pf-preset{aspect-ratio:1;border-radius:50%;overflow:hidden;padding:0;border:2px solid transparent;transition:transform .12s}
.pf-preset svg{width:100%;height:100%;display:block}
.pf-preset:hover{transform:scale(1.06)}
.pf-preset.on{border-color:var(--green);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--green)}
@media(max-width:520px){.pf-grid{grid-template-columns:repeat(4,1fr)}.pf-wrap{flex-direction:column;text-align:center}}

/* Notlar kaydırılınca üst bilgi alanı katlanır */
#notesView section>.pcrumb,#notesView section #projectDesc,#notesView section>.meta,#notesView section>.toolbar{transition:max-height .22s ease,opacity .18s ease,margin .22s ease,padding .22s ease}
#notesView section #projectDesc{max-height:60px;overflow:hidden}
#notesView section>.meta{max-height:80px;overflow:hidden}
#notesView section>.toolbar{max-height:90px;overflow:hidden}
#notesView section.compact #projectDesc,#notesView section.compact>.meta,#notesView section.compact>.toolbar{max-height:0;opacity:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;border-color:transparent;pointer-events:none}
#notesView section.compact>.heading{padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:12px}
#notesView .layout{transition:padding-top .22s ease}
#notesView .layout:has(section.compact){padding-top:18px}

.pf-grid{grid-template-columns:repeat(9,1fr);max-height:300px;overflow-y:auto;padding:4px}
.pf-preset img{width:100%;height:100%;display:block;object-fit:cover}
@media(max-width:520px){.pf-grid{grid-template-columns:repeat(5,1fr)}}

.pf-label{font-size:12px;margin:6px 0 0}
.pf-details{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:0 0 16px}
.pf-details summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--green)}
.pf-details[open] summary{margin-bottom:12px}
.pf-compact .pf-big{width:72px;height:72px;font-size:22px}
.pf-details .pf-grid{max-height:190px;margin-bottom:4px}

/* Notu oluşturan dışındaki kişilerin satırları farklı mürekkep renginde */
.pad .ln.other .tx,.pad .ln.other textarea.tx,.pad .ln.other .ln-task span{color:var(--ink)}
.pad .ln.other .ln-author{color:var(--ink);border-color:color-mix(in srgb,var(--ink) 35%,transparent);background:color-mix(in srgb,var(--ink) 8%,#fffbe8)}
.pad .ln.other>.no{box-shadow:inset 3px 0 0 var(--ink)}
.pad-limited{font-size:11.5px;color:#8a7a45;margin-left:8px}

/* Okuma modunda satıra tıklanınca düzenle simgesini göster */
.pad-icon.nudge{animation:pd-nudge .5s ease-in-out 4;background:var(--green);color:#fff;box-shadow:0 0 0 4px #0f6a6f2e}
@keyframes pd-nudge{0%,100%{transform:scale(1)}50%{transform:scale(1.18);background:#f3ae4c;box-shadow:0 0 0 7px #f3ae4c40}}
.edit-hint{position:absolute;bottom:calc(100% + 10px);background:var(--ink);color:#fff;font-size:12px;font-weight:500;line-height:1.35;padding:8px 12px;border-radius:8px;white-space:nowrap;z-index:5;box-shadow:0 8px 20px #0003;animation:pd-hint-in .18s ease-out;pointer-events:none}
.edit-hint:after{content:'';position:absolute;top:100%;right:var(--arrow,15px);margin-right:-6px;border:6px solid transparent;border-top-color:var(--ink)}
.edit-hint.out{opacity:0;transition:opacity .3s}
@keyframes pd-hint-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:650px){.edit-hint{white-space:normal;width:200px}}

/* Kişisel projeler */
.pill.personal{background:#fdf0da;color:#a46a12}
.plock{font-style:normal;font-size:10px;margin-left:3px;opacity:.75}
.pv-block{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:4px 0 16px;background:#fbfdfd}
.pv-title{font-size:12.5px;font-weight:700;margin-bottom:8px;color:var(--ink)}
.modal .pv-toggle{display:flex;gap:9px;align-items:center;font-size:12.5px;font-weight:600;margin:0}
.modal .pv-toggle input{display:inline-block;width:16px;height:16px;margin:0;accent-color:var(--green)}
.pv-toggle+#pvPick{margin-top:12px}
#viewerPicker .access-list{max-height:240px}
#viewerPicker .ap-check .avatar{width:26px;height:26px;font-size:10px;flex:none}
#viewerPicker .ap-check small{font-weight:400}

/* Panel (dashboard) */
@media(min-width:901px){#dashView.show{flex:1;min-height:0;overflow-y:auto}}
.dash{padding:30px 36px 40px;max-width:1450px;margin:0 auto}
.dash-head h1{margin:6px 0 4px}
.dash-head p{margin:0}
.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:4px}
.kpi span{font-size:12px;color:#7c8888}
.kpi b{font:800 30px Manrope,sans-serif;color:var(--ink);letter-spacing:-1px}
.kpi small{font-size:11.5px;color:#8a9595}
.kpi small.up{color:#2f8a63}.kpi small.down{color:#b0563a}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}
.dcard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;min-width:0}
.dcard h3{font:700 13.5px Manrope,sans-serif;margin:0 0 14px;display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.dcard h3 small{font:400 11px 'DM Sans',sans-serif;color:#8a9595}
.dash-bars{width:100%;height:auto;display:block}
.dash-bars .grid{stroke:#eef3f3;stroke-width:1}
.dash-bars .ax{font-size:10px;fill:#8a9595}
.dash-bars .val{font-size:11px;font-weight:700;fill:#243036}
.dash-bars .b{fill:#9fcfc9}.dash-bars .b.now{fill:var(--green)}
.dash-bars .hit{fill:transparent}
.dash-bars .bar:hover .b{fill:#0b5559}
.tw{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:12.5px}
.tw .avatar{width:28px;height:28px;font-size:10px;flex:none}
.tw-n{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-bar{flex:1;height:8px;background:#eef3f3;border-radius:4px;overflow:hidden}
.tw-bar i{display:block;height:100%;background:var(--green);border-radius:4px}
.tw b{width:28px;text-align:right}
.dl{list-style:none;margin:0;padding:0}
.dl li button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 8px;border-radius:9px}
.dl li button:hover{background:#f4f8f8}
.dl li+li{border-top:1px solid #f0f4f4}
.dl .box{width:16px;height:16px;border:1.5px solid #b9c7c7;border-radius:4px;flex:none}
.dl-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.dl-main b{font-weight:600;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-main b em{font-style:normal;font-weight:400;color:#7c8888}
.dl-main small{font-size:11px;color:#8a9595;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:5px}
.dl-main .dot{width:7px;height:7px;flex:none}
.dl .avatar{width:30px;height:30px;font-size:10px;flex:none}
.dl time{font-size:11px;color:#8a9595;white-space:nowrap}
.dl-more{margin:8px 0 0 8px}
.dash-sub{font:700 15px Manrope,sans-serif;margin:28px 0 12px}
.dash-projects{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.dp-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--pc);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;text-align:left;transition:box-shadow .15s,transform .15s}
.dp-card:hover{box-shadow:0 10px 24px #0f6a6f14;transform:translateY(-1px);filter:none}
.dp-top{display:flex;align-items:center;gap:8px;min-width:0}
.dp-top b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp-top .pill{margin-left:auto;font-size:10px}
.dp-nums{display:flex;gap:16px;font-size:11.5px;color:#7c8888}
.dp-nums b{display:block;font:800 18px Manrope,sans-serif;color:var(--ink)}
.dp-spark{display:flex;align-items:flex-end;gap:4px;height:28px}
.dp-spark i{flex:1;background:var(--pc);opacity:.75;border-radius:2px 2px 0 0}
.dp-last{font-size:11px;color:#8a9595}
@media(max-width:1150px){.dash{padding:24px}.dash-kpis{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}}
@media(max-width:560px){.dash{padding:16px}.dash-kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi b{font-size:24px}}

/* @ ile anma */
.mention{color:#3d6b4c;background:#e7f0e3;border-radius:5px;padding:0 3px;font-weight:600;white-space:nowrap}
.mention.me{color:#8a4b12;background:#fbe9d0}
.mention-box{position:fixed;z-index:80;width:280px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(30,45,40,.18);padding:6px;max-height:320px;overflow:auto}
.mention-box[hidden]{display:none}
.mention-box .mb-head{font:700 11px Manrope,sans-serif;color:#7c8888;padding:4px 8px 6px;display:flex;justify-content:space-between;letter-spacing:.02em}
.mention-box .mb-head small{font:400 10.5px 'DM Sans',sans-serif}
.mention-box button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:none;padding:6px 8px;border-radius:8px;cursor:pointer}
.mention-box button.on,.mention-box button:hover{background:#eef4ea}
.mention-box button .avatar{width:26px;height:26px;font-size:10px;flex:none}
.mention-box button span{display:flex;flex-direction:column;min-width:0}
.mention-box button b{font-size:13px;font-weight:600}
.mention-box button small{font-size:11px;color:#8a9595;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pad-tools .tool-at{font:700 15px Manrope,sans-serif;color:#3d6b4c}
.dcard.ment{margin-bottom:16px;border-left:3px solid #d99a4e}
.dl.ml .ml-line{display:block;font-size:13px;color:#2b3a36;margin:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uc-by{display:inline-block;align-self:flex-start;margin-top:6px;font-size:11px;color:#8a7a5c;background:#f7f1e6;border-radius:6px;padding:2px 7px}
.uempty{background:#fff;border:1px dashed var(--line);border-radius:12px;padding:18px 20px;color:#7c8888;font-size:13px}

/* ---- otomatik kayıt durumu ---- */
.save-state{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:18px;font-size:12px;color:#7d8a8a;background:#f2f6f6;border:1px solid transparent;transition:background .35s,color .35s,border-color .35s;white-space:nowrap}
.save-state[hidden]{display:none}
.save-state small{font-size:11px;color:#9aa8a8}
.save-state .ss-dot{width:7px;height:7px;border-radius:50%;background:#c3cccc;flex:none}
.save-state.pending .ss-dot{background:#d9b25a;animation:ssPulse 1.2s ease-in-out infinite}
.save-state.saving{color:#4f6d6e}
.save-state .ss-spin{width:12px;height:12px;border-radius:50%;border:2px solid #b7d3d4;border-top-color:var(--green);animation:ssSpin .8s linear infinite;flex:none}
.save-state.saved{color:var(--green);background:#e9f4f1}
.save-state .ss-check{width:15px;height:15px;fill:none;stroke:var(--green);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:16;stroke-dashoffset:0}
.save-state.saved.pop{animation:ssPop .5s cubic-bezier(.2,.9,.3,1.3)}
.save-state.saved.pop .ss-check{animation:ssDraw .45s .05s ease-out both}
.save-state.saved.pop small{animation:ssFade 2.5s ease both}
.save-state.hint{color:#8c7f4c;background:#fbf3d5}
.save-state.error{color:#a2412b;background:#fbe9e3;border-color:#f1cbbf}
.save-state.error .ss-dot{background:#cf6a4f}
.save-state.error button{font-size:12px;font-weight:700;color:#a2412b;text-decoration:underline;padding:0 0 0 4px}
@keyframes ssPulse{50%{opacity:.35}}
@keyframes ssSpin{to{transform:rotate(360deg)}}
@keyframes ssPop{0%{transform:scale(.92)}60%{transform:scale(1.04)}100%{transform:scale(1)}}
@keyframes ssDraw{from{stroke-dashoffset:16}to{stroke-dashoffset:0}}
@keyframes ssFade{0%,40%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.save-state *,.save-state{animation:none!important}}
.finish-btn{padding:9px 16px}
.pad-vis{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border-radius:8px;border:1px solid var(--pad-edge);background:#fdf6d8;font-size:12px;color:#6f6640}
.pad-vis:hover{border-color:var(--green);color:var(--green)}
.pad-vis .pv-ic{font-size:13px}
.sum-btn{padding:10px 14px}

/* ---- yeni biçimler ---- */
.ln-num{display:inline-flex;gap:8px}.ln-num>b{color:#a48f4c;font-weight:700;min-width:16px}
.ln-h{font:700 15.5px Manrope,sans-serif;color:#2c3a3a;letter-spacing:-.2px}
.pad .ln-mark.num{width:auto;height:auto;margin-top:0;line-height:var(--row);color:#a48f4c;font-weight:700;font-size:13px;min-width:18px;text-align:right}
.pad .ln-mark.head{width:auto;height:auto;margin-top:0;line-height:var(--row);color:#b5a26a;font:800 11px Manrope,sans-serif;background:#f3e6ae;border-radius:4px;padding:0 5px;align-self:center;line-height:18px}
.pad .ln.is-h textarea{font-weight:700;font-size:15.5px}
.pad-tools .tool-h{font:800 13px Manrope,sans-serif}
.pad-tools .tool-num{font:700 12px Manrope,sans-serif}
.pad-tools .tool-emoji{font-size:15px}
u{text-decoration-thickness:1.5px;text-underline-offset:2px}
s{color:#9a8f68}

/* ---- etiketler ---- */
.htag{display:inline;padding:0 4px;border-radius:5px;background:#e3eef7;color:#2f5f86;font-weight:600;font-size:.95em;cursor:pointer}
.htag:hover{background:#d2e4f3}
.tag-cloud{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:-6px 0 16px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.tag-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:14px;background:#eef4f9;color:#2f5f86;font-size:12px;font-weight:600;border:1px solid transparent}
.tag-chip b{font-size:10.5px;background:#fff;border-radius:9px;padding:0 6px;color:#6b7c88;font-weight:600}
.tag-chip.on{background:#2f5f86;color:#fff}.tag-chip.on b{color:#2f5f86}
.mention-box .mb-hash{width:26px;height:26px;border-radius:7px;background:#e3eef7;color:#2f5f86;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;flex:none}

/* ---- emoji ve iş terimleri ---- */
.emoji-box{position:fixed;z-index:80;width:360px;max-width:calc(100vw - 16px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 38px rgba(30,45,40,.2);padding:8px}
.emoji-box[hidden]{display:none}
.eb-tabs{display:flex;gap:4px;padding:2px 2px 8px;border-bottom:1px solid var(--line);margin-bottom:8px}
.eb-tabs button{padding:6px 11px;border-radius:7px;font-size:12px;font-weight:600;color:#6f7b7b}
.eb-tabs button.on{background:#edf4f4;color:var(--green)}
.eb-pane{display:flex;flex-wrap:wrap;gap:6px;max-height:250px;overflow:auto}
.eb-pane[hidden]{display:none}
.eb-term{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:16px;background:#f3f7f7;border:1px solid var(--line);font-size:12px;font-weight:600;color:#33494b}
.eb-term:hover{background:#e9f4f1;border-color:#b9d8d0}
.eb-emo button{width:38px;height:38px;border-radius:8px;font-size:20px}
.eb-emo button:hover{background:#f0f5f5}

/* ---- kişiler: takip ve zaman çizelgesi ---- */
.person{cursor:pointer;border-radius:8px;margin:6px -8px;padding:8px}
.person:hover{background:#f3f8f8}
.people-page{padding:32px 36px;max-width:1300px}
.pp-top h1{margin:6px 0 4px}
.pp-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;margin-top:20px;align-items:start}
.pp-side{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.pp-person{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 10px;border-radius:10px}
.pp-person:hover{background:#f3f8f8}.pp-person.on{background:#e8f2f2}
.pp-person .avatar,.pp-all{width:32px;height:32px;flex:none}
.pp-all{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#edf4f4;color:var(--green)}
.pp-n{display:flex;flex-direction:column;min-width:0;flex:1}.pp-n b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pp-n em{font-style:normal;color:#8a9595;font-weight:400}.pp-n small{font-size:11px;color:#8a9595;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-c{font-style:normal;font-size:11px;font-weight:700;background:#fbe9d0;color:#8a4b12;border-radius:10px;padding:1px 8px}
.pp-main{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 24px;min-width:0}
.pp-head h2{font:800 20px Manrope,sans-serif;margin:0 0 4px;letter-spacing:-.4px}
.pp-head.person{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.pp-big{width:56px;height:56px;font-size:16px}
.pp-head.person p{margin:0}
.pp-stats{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
.pp-stats span{display:flex;flex-direction:column;align-items:center;padding:8px 14px;border-radius:10px;background:#f4f8f8;font-size:11px;color:#7c8888}
.pp-stats b{font:800 18px Manrope,sans-serif;color:var(--ink)}
.pp-tabs{display:inline-flex;margin:18px 0 6px}.pp-tabs b{font-size:11px;background:#fbe9d0;color:#8a4b12;border-radius:9px;padding:0 6px;margin-left:4px}
.pp-sub{font:700 13px Manrope,sans-serif;margin:18px 0 6px;color:#556363}
.pp-group{margin-top:18px}
.pp-group h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 4px;font:700 13.5px Manrope,sans-serif}
.pp-group h3 button{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.pp-group h3 .avatar{width:26px;height:26px;font-size:9px}
.pp-group h3 span{font:400 11px 'DM Sans',sans-serif;color:#8a9595}
.fu-list .box{display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#fff}
.fu.done .box{background:var(--green);border-color:var(--green)}
.fu.done b{text-decoration:line-through;color:#8a9595;font-weight:400}
.tl{list-style:none;margin:14px 0 0;padding:0 0 0 18px;border-left:2px solid #e3ecec}
.tl-day{position:relative;margin-bottom:18px}
.tl-day:before{content:'';position:absolute;left:-25px;top:4px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--green)}
.tl-date{display:flex;gap:8px;align-items:baseline;margin-bottom:8px}.tl-date b{font:700 13.5px Manrope,sans-serif}.tl-date small{color:#8a9595;font-size:11.5px}
.tl-note{display:block;width:100%;text-align:left;background:#fdfaeb;border:1px solid #efe5bd;border-radius:10px;padding:10px 14px;margin-bottom:8px}
.tl-note:hover{border-color:#d9c784}
.tl-title{display:flex;align-items:center;gap:6px;font-size:12px;color:#7c7a66;margin-bottom:6px;flex-wrap:wrap}.tl-title b{color:var(--ink)}
.tl-line{display:flex;gap:8px;align-items:baseline;font-size:13px;line-height:1.7;color:#2c3a3a}
.tl-b{font-style:normal;font-size:10px;font-weight:700;border-radius:5px;padding:1px 6px;flex:none;text-transform:uppercase;letter-spacing:.4px}
.tl-b.w{background:#e7f0e3;color:#3d6b4c}.tl-b.m{background:#fbe9d0;color:#8a4b12}.tl-b.own{background:#e3eef7;color:#2f5f86;margin-left:4px}
.tl-more{display:block;margin-top:4px}
@media(max-width:900px){.people-page{padding:20px 15px}.pp-layout{grid-template-columns:1fr}.pp-side{position:static;max-height:none;display:flex;overflow:auto;gap:4px}.pp-person{min-width:200px}.pp-stats{margin-left:0}}

/* ---- proje özeti sayfası ---- */
.summary-view{position:fixed;inset:0;z-index:120;background:rgba(22,34,32,.55);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:28px;animation:sumFade .18s ease}
@keyframes sumFade{from{opacity:0}}
.sum-box{position:relative;width:min(920px,100%);max-height:100%;display:flex;flex-direction:column;background:#eef3f2;border-radius:16px;overflow:hidden;box-shadow:0 30px 80px rgba(10,25,20,.35);animation:sumPop .22s cubic-bezier(.2,.9,.3,1.2)}
@keyframes sumPop{from{transform:translateY(14px) scale(.98);opacity:0}}
.sum-scroll{overflow:auto;flex:1;min-height:0}
.sum-x{width:36px;height:36px;padding:0!important;display:grid;place-items:center;font-size:15px;border-radius:50%!important;margin-left:4px}
.sum-x:hover{background:#fbe9e7!important;border-color:#e8b4ad!important;color:#b2382b}
.sum-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.summary-view[hidden]{display:none}
body.summary-open{overflow:hidden}
.sum-bar{flex:none;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;background:#fff;border-bottom:1px solid var(--line);font-size:13px}
.sum-actions{display:flex;gap:8px;align-items:center}
.sum-actions button{padding:9px 14px;border-radius:8px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:12.5px}
.sum-actions .primary{border-color:var(--green);background:var(--green);color:#fff}
.sum-paper{max-width:820px;margin:24px auto 32px;background:#fff;border-radius:6px;box-shadow:0 10px 40px rgba(30,45,40,.12);padding:48px 56px}
.sum-head{border-bottom:3px solid var(--ink);padding-bottom:16px;margin-bottom:8px}
.sum-head h1{display:flex;align-items:center;gap:10px;margin:6px 0}.sum-head h1 .dot{width:12px;height:12px}
.sum-head p{margin:2px 0;color:#5f6d6d;font-size:13px}.sum-head .sum-gen{color:#98a4a4;font-size:11.5px}
.sum-day{margin-top:26px}
.sum-day h2{display:flex;align-items:baseline;gap:10px;font:800 15px Manrope,sans-serif;margin:0 0 12px;padding-bottom:8px;border-bottom:1.5px solid #2c3a3a}
.sum-day h2 small{font:400 12px 'DM Sans',sans-serif;color:#7d8a8a}
.sum-note h3{font:700 14.5px Manrope,sans-serif;margin:0 0 2px}
.sum-by{font-size:11.5px;color:#8a9595;margin-bottom:8px}
.sum-lines{font-size:13.5px;line-height:1.7;color:#2c3a3a}
.sum-ln{display:flex;gap:10px;align-items:baseline;justify-content:space-between}
.sum-ln .ln-task input{width:13px;height:13px}
.sum-who{font-size:10.5px;color:#9aa6a6;white-space:nowrap;flex:none}
.sum-gap{height:8px}
.sum-sep{border:0;border-top:1px dashed #c9d3d3;margin:16px 0}
.sum-paper .htag{background:none;padding:0;color:#2f5f86}
@media(max-width:700px){.summary-view{padding:0}.sum-box{border-radius:0;height:100%}.sum-paper{padding:26px 20px;margin:12px}.sum-bar{padding:10px 12px}.sum-actions button:not(.sum-x){padding:8px 10px}}
@media print{
  body.summary-open>*:not(#summaryView){display:none!important}
  body.summary-open{overflow:visible;background:#fff}
  .summary-view{position:static;background:#fff;overflow:visible;display:block;padding:0;backdrop-filter:none}
  .sum-box{box-shadow:none;max-height:none;overflow:visible;display:block;background:#fff;border-radius:0}
  .sum-scroll{overflow:visible}
  .sum-bar{display:none}
  .sum-paper{box-shadow:none;margin:0;padding:0;max-width:none}
  .sum-note{break-inside:avoid}
  .sum-day h2{break-after:avoid}
}

/* ---- not kâğıdı stilleri ---- */
.pad.paper-white,.pad.paper-white-lined{--pad:#ffffff;--pad-edge:#e1e6ea;--pad-rule:#dfe7ef;--pad-margin:#f1a9a9;--pad-ink:#25323a;--pad-soft:#7d8a93;--pad-no:#a9b4bc;--pad-tools:#f6f8fa;--pad-hover:#eaeff3;box-shadow:0 1px 2px #0000000a,0 10px 26px #1e2d3512}
.pad.paper-white{--pad-lines:none;--pad-margin-op:0;--pad-rule:#edf1f4}
.pad.paper-kraft{--pad:#d4b48a;--pad-edge:#b8946a;--pad-rule:#c09d72;--pad-margin:#9c5b3b;--pad-ink:#3a2a18;--pad-soft:#6e5435;--pad-no:#8a6a45;--pad-tools:#c9a77c;--pad-hover:#bf9c6f;
  background-image:radial-gradient(ellipse at 20% 10%,#ffffff1f,transparent 55%),radial-gradient(ellipse at 85% 90%,#5a3a1a26,transparent 60%),repeating-radial-gradient(circle at 30% 40%,#00000006 0 1px,transparent 1px 3px);
  box-shadow:inset 0 0 50px #6b45203d,0 10px 26px #4a2f1426}
.pad.paper-kraft input.pad-title::placeholder{color:#8d7050}
.pad.paper-kraft .ln-task.done span,.pad.paper-kraft .ln.done textarea.tx{color:#7b6142}
.pad.paper-grid{--pad:#fbfdff;--pad-edge:#d9e4ee;--pad-rule:#d6e3f0;--pad-margin:#e9a9a9;--pad-ink:#22313d;--pad-soft:#6f8396;--pad-no:#9fb1c2;--pad-tools:#f1f6fb;--pad-hover:#e3edf6;
  --pad-lines:linear-gradient(to right,#dbe7f3 1px,transparent 1px) 0 0/17px 17px,linear-gradient(to bottom,#dbe7f3 1px,transparent 1px) 0 0/17px 17px}
.pad.paper-dot{--pad:#fffdf8;--pad-edge:#ebe5d6;--pad-rule:#eee7d6;--pad-margin:#e9b9a9;--pad-margin-op:.35;--pad-ink:#2e3433;--pad-soft:#8a8270;--pad-no:#b9b09a;--pad-tools:#f8f4ea;--pad-hover:#f0eadb;
  --pad-lines:radial-gradient(circle,#cbbfa3 1.1px,transparent 1.4px) 8px 8px/17px 17px}
.pad.paper-mint{--pad:#e5f4ea;--pad-edge:#c3e2cd;--pad-rule:#c6e1cf;--pad-margin:#e3a4a0;--pad-ink:#20352a;--pad-soft:#5d7f69;--pad-no:#8fb39b;--pad-tools:#d6ecdd;--pad-hover:#c9e5d2}
.pad.paper-pink{--pad:#fde4ec;--pad-edge:#f4c6d4;--pad-rule:#f3cbd8;--pad-margin:#d98aa3;--pad-ink:#3a2530;--pad-soft:#9a6a7d;--pad-no:#c391a5;--pad-tools:#fad5e1;--pad-hover:#f6c5d4}
.paper-box{position:fixed;z-index:80;width:330px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 38px rgba(30,45,40,.2);padding:12px}
.paper-box[hidden]{display:none}
.paper-box h4{font:700 12px Manrope,sans-serif;margin:0 0 10px;color:#5f6d6d}
.paper-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.paper-opt{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10.5px;color:#5f6d6d;text-align:center;line-height:1.2}
.paper-opt i{display:block;width:58px;height:44px;border-radius:7px;border:1px solid #0000001f;box-shadow:0 2px 5px #0000000d;background:var(--sw)}
.paper-opt.on i{outline:2.5px solid var(--green);outline-offset:2px}
.sw-yellow{--sw:repeating-linear-gradient(#fcf2c4 0 8px,#eadb9c 8px 9px)}
.sw-white{--sw:#fff}
.sw-white-lined{--sw:repeating-linear-gradient(#fff 0 8px,#dfe7ef 8px 9px)}
.sw-kraft{--sw:radial-gradient(ellipse at 30% 20%,#e2c79f,#c4a072 70%,#a98256)}
.sw-grid{--sw:linear-gradient(to right,#dbe7f3 1px,transparent 1px) 0 0/7px 7px,linear-gradient(#dbe7f3 1px,#fbfdff 1px) 0 0/7px 7px}
.sw-dot{--sw:radial-gradient(circle,#cbbfa3 1px,transparent 1.3px) 0 0/7px 7px,#fffdf8}
.sw-mint{--sw:repeating-linear-gradient(#e5f4ea 0 8px,#c6e1cf 8px 9px)}
.sw-pink{--sw:repeating-linear-gradient(#fde4ec 0 8px,#f3cbd8 8px 9px)}
/* ---- görselden yazı ---- */
.ocr-bar{display:flex;align-items:center;gap:12px;padding:10px 20px 10px 64px;background:linear-gradient(90deg,#e8f3f0,#f3f8f6);border-bottom:1px solid #cfe3dc;font-size:12.5px;color:#28504a;animation:obIn .35s ease}
.ocr-bar[hidden]{display:none}
.ocr-bar img{width:40px;height:40px;object-fit:cover;border-radius:7px;border:1px solid #cfe3dc;flex:none}
.ocr-bar .ob-txt{display:flex;flex-direction:column;min-width:0;flex:1}.ocr-bar .ob-txt small{color:#6b8a84;font-size:11.5px}
.ocr-bar .ob-prog{width:140px;height:6px;border-radius:3px;background:#d4e6e0;overflow:hidden;flex:none}
.ocr-bar .ob-prog i{display:block;height:100%;width:4%;background:var(--green);border-radius:3px;transition:width .25s}
.ocr-bar.busy .ob-prog i{background:linear-gradient(90deg,var(--green),#3fa39a)}
.ocr-bar button{padding:6px 11px;border-radius:7px;background:#fff;border:1px solid #cfe3dc;font-weight:600;font-size:12px;color:var(--green);white-space:nowrap}
.ocr-bar.warn{background:#fdf3e4;border-color:#f0dcb6;color:#7a5418}
.ocr-bar.warn button{color:#7a5418;border-color:#f0dcb6}
.pad .ln.ocr-new{animation:ocrNew 2.2s ease}
@keyframes ocrNew{0%{background:#c9ecdf}100%{background:transparent}}
@keyframes obIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.pad-tools .tool-ocr{gap:6px;padding:0 10px;background:#ffffff8c;border:1px solid var(--pad-edge);font-size:12px;font-weight:700;color:var(--green)}
.pad-tools .tool-ocr span{font-size:14px}
@media(max-width:650px){.ocr-bar{padding-left:12px;flex-wrap:wrap}.pad-tools .tool-ocr b{display:none}}
.htag{line-height:1.45;display:inline-block;vertical-align:baseline}
.pad .ln-h{display:inline-block;line-height:var(--row);vertical-align:top}
.tl-note{cursor:pointer}
.tl-note:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.tl-tx,.sum-tx{min-width:0;flex:1}
@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){
  aside>nav{overflow-x:auto;gap:2px;scrollbar-width:none}aside>nav .nav{flex:none;width:auto;padding:10px 12px}
  .toolbar{flex-wrap:wrap;gap:10px}.toolbar-right{flex-wrap:wrap;gap:8px;width:100%}.toolbar-right .search{flex:1;min-width:0}
  .detail-bar{flex-wrap:wrap}.detail-bar .muted{flex-basis:100%}
  .pad-head-right{flex-wrap:wrap}
  .head-actions .save-state{flex:1;justify-content:flex-start;overflow:hidden}
  .ocr-bar .ob-txt{flex-basis:calc(100% - 60px)}
  .tag-cloud,.author-cloud{overflow-x:auto;flex-wrap:nowrap}
}

/* ---- hatırlatmalar ---- */
header .bell-wrap{position:relative}
.bell{position:relative;width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#55686a;background:#f2f6f6;border:1px solid var(--line)}
.bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bell b{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#8ea1a2;color:#fff;font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.bell b[hidden]{display:none}
.bell b.due{background:#d9534f}
.bell.ringing{color:#c0392b;background:#fdecea;border-color:#f5c6c2}
.bell.ringing svg{animation:bellRing 1.6s ease-in-out infinite;transform-origin:50% 15%}
@keyframes bellRing{0%,60%,100%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-12deg)}30%{transform:rotate(9deg)}40%{transform:rotate(-6deg)}50%{transform:rotate(3deg)}}
@media (prefers-reduced-motion:reduce){.bell.ringing svg{animation:none}}
.bell-panel{position:absolute;right:0;top:calc(100% + 10px);width:380px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 44px rgba(30,45,40,.2);z-index:70;padding:8px;max-height:70vh;overflow:auto}
.bell-panel[hidden]{display:none}
.bp-head{display:flex;justify-content:space-between;align-items:center;padding:6px 8px 8px}.bp-head b{font:800 14px Manrope,sans-serif}
.bp-head button{font-size:12px;color:var(--green);font-weight:600;padding:4px 8px;border-radius:6px}
.bp-sec{font-size:10px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#8a9595;padding:8px 8px 4px}.bp-sec.due{color:#c0392b}
.bp-empty{text-align:center;color:#7d8a8a;font-size:12.5px;padding:10px 12px;margin:0}.bp-empty small{color:#9aa6a6}
.bp-all{display:block;width:100%;text-align:center;padding:10px;margin-top:6px;border-top:1px solid var(--line);font-weight:700;font-size:12.5px;color:var(--green)}
.rem-row{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px}
.rem-row:hover{background:#f5f9f9}
.rem-row.due{background:#fff4f2}
.rem-row.done .rr-main b{text-decoration:line-through;color:#9aa6a6;font-weight:400}
.rr-check{width:20px;height:20px;border-radius:50%;border:1.5px solid #b9c7c7;flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#fff}
.rem-row.done .rr-check{background:var(--green);border-color:var(--green)}
.rr-check:hover{border-color:var(--green)}
.rr-main{flex:1;min-width:0;cursor:pointer;display:flex;flex-direction:column}
.rr-main b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rr-main small{font-size:11px;color:#8a9595;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:5px}
.rr-time{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:#4f6d6e;background:#eef5f5;border-radius:8px;padding:5px 8px;white-space:nowrap}
.rr-time svg,.rr-del svg,.ln-rem svg,.rem-quote svg,.ra-ic svg,.clock-ghost svg,.clock-hint svg,.tool-clock svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rem-row.due .rr-time{background:#fde3df;color:#b03a2e}
.rr-del{width:30px;height:30px;border-radius:7px;color:#a24a33;display:inline-flex;align-items:center;justify-content:center}
.rr-del:hover{background:#fbe9e3}
.rem-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:20px;align-items:start}
.rem-day h3{font:700 12.5px Manrope,sans-serif;color:#556363;margin:18px 0 6px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.pp-tabs b.hot{background:#fde3df;color:#b03a2e}
.rem-settings{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;position:sticky;top:16px}
.rem-settings h3{font:800 14px Manrope,sans-serif;margin:0 0 14px}
.modal .rem-settings{border:0;padding:0;position:static}
.rs-label{display:block;font-size:11px;font-weight:700;letter-spacing:.6px;color:#7c8888;text-transform:uppercase;margin:12px 0 6px}
.rs-sounds{display:grid;gap:4px}
.rs-sound{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:9px;border:1px solid var(--line);cursor:pointer;font-size:13px}
.rs-sound.on{border-color:var(--green);background:#eef6f5}
.rs-sound input{accent-color:var(--green);margin:0;width:auto;display:inline}
.rs-sound span{flex:1}
.rs-play{width:28px;height:28px;border-radius:50%;background:#edf4f4;color:var(--green);font-size:10px}
.rs-play:hover{background:#dcecec}
.rem-settings input[type=range]{width:100%;accent-color:var(--green);margin:0;padding:0;border:0}
.rs-browser{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;margin:14px 0 8px}.rs-browser input{width:auto;display:inline;margin:2px 0 0}
.rs-test{margin-top:4px}.rs-note{margin:12px 0 0;line-height:1.5}
.ln-rem{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:0 7px;height:20px;border-radius:10px;background:#fff7;border:1px solid #d9c784;color:#7a6526;font-size:10.5px;font-weight:700;vertical-align:middle;line-height:1;white-space:nowrap}
.ln-rem.due{background:#fde3df;border-color:#f0b5ac;color:#b03a2e;animation:remPulse 1.8s ease-in-out infinite}
.ln-rem.in-edit{align-self:center;margin:0 6px;flex:none}
@keyframes remPulse{50%{box-shadow:0 0 0 4px #f0b5ac55}}
.pad-icon.clock-drag,.tool-clock{cursor:grab;touch-action:none;color:#8a6d1f}
.pad-icon.clock-drag svg{width:17px;height:17px}
.pad-icon.clock-drag:hover,.pad-tools .tool-clock:hover{background:#f3e3a3;color:#5f4a0f}
.pad-tools .tool-clock{background:#ffffff8c;border:1px dashed #c9b264}
body.clock-dragging,body.clock-dragging *{cursor:grabbing!important;user-select:none}
.clock-ghost{position:fixed;z-index:200;pointer-events:none;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:#fff;box-shadow:0 8px 20px #0003;display:flex;align-items:center;justify-content:center;color:#8a6d1f;border:2px solid #e3c766}
.clock-ghost svg{width:22px;height:22px}
.pad.pick-scope .ln:not(.filler){transition:background .12s}
.pad .ln.rem-target{background:#fff3c2!important;box-shadow:inset 3px 0 0 #e0a72b}
.pad .ln.rem-target .tx,.pad .ln.rem-target textarea{cursor:copy}
body.clock-pick .pad.pick-scope .ln:not(.filler){cursor:pointer}
.clock-hint{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:120;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:24px;background:#243036;color:#fff;font-size:13px;box-shadow:0 10px 30px #0004}
.clock-hint button{color:#fff;opacity:.8;padding:2px 6px}
.ln.rem-flash{animation:ocrNew 2.6s ease}
.rem-quote{display:flex;gap:10px;align-items:flex-start;background:#fdf7dc;border:1px solid #efe0a0;border-radius:10px;padding:12px 14px;margin-bottom:12px;color:#5f5a3c}
.rem-quote svg{width:18px;height:18px;margin-top:2px;color:#a48f4c}
.rem-quote b{display:block;font-weight:600;color:#2c3a3a}.rem-quote small{color:#8c7f4c;font-size:11.5px}
.rem-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.rem-presets button{padding:7px 11px;border-radius:16px;border:1px solid var(--line);background:#f5f9f9;font-size:12px;font-weight:600;color:#3b5153}
.rem-presets button.on,.rem-presets button:hover{border-color:var(--green);color:var(--green);background:#eef6f5}
.linklike{color:var(--green);font-weight:600;text-decoration:underline;padding:0;font-size:inherit}
.danger-link{color:#a2412b;font-weight:600}
.modal-actions{align-items:center}
.rem-alerts{position:fixed;right:20px;bottom:20px;z-index:150;display:flex;flex-direction:column;gap:10px;width:360px;max-width:calc(100vw - 24px)}
.rem-alert{position:relative;display:flex;gap:12px;background:#fff;border-radius:14px;padding:14px 14px 12px;box-shadow:0 18px 44px rgba(30,45,40,.28);border:1px solid #f0d9a8;border-left:4px solid #e0a72b;animation:raIn .45s cubic-bezier(.2,.9,.3,1.2)}
.ra-ic{width:36px;height:36px;border-radius:50%;background:#fff3c2;color:#a8770f;display:flex;align-items:center;justify-content:center;flex:none;animation:bellRing 1.6s ease-in-out 2}
.ra-ic svg{width:19px;height:19px}
.ra-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.ra-body small{font-size:11px;color:#a8770f;font-weight:700;display:flex;align-items:center;gap:5px}
.ra-body b{font-size:14px;line-height:1.4}.ra-body>span{font-size:12px;color:#7d8a8a}
.ra-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ra-acts button{padding:6px 10px;border-radius:7px;border:1px solid var(--line);background:#fff;font-size:12px;font-weight:600}
.ra-acts .primary{border-color:var(--green);padding:6px 10px}
.ra-x{position:absolute;top:6px;right:8px;color:#9aa6a6;font-size:12px;padding:4px}
@keyframes raIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
.nc.hot:not(:empty){background:#fde3df;color:#b03a2e}
@media(max-width:900px){.rem-layout{grid-template-columns:1fr}.rem-settings{position:static}}
@media(max-width:650px){.rr-time{font-size:10.5px;padding:4px 6px}.rem-alerts{right:12px;bottom:12px}}
.bell-fixed{position:fixed;top:20px;right:24px;z-index:65}
.bell-fixed .bell{background:#fff;box-shadow:0 4px 14px #1e2d3514}
.layout>.right{padding-top:46px}
.dash-head,.pp-top,.users-head{padding-right:60px}
body.summary-open .bell-fixed{display:none}
@media(max-width:900px){.layout>.right{padding-top:0}}
@media(max-width:650px){.bell-fixed{top:12px;right:12px}.bell-fixed .bell{width:36px;height:36px}}
@media(min-width:901px){#notesView .layout>.right{padding-top:52px}}
.ra-acts .primary{background:var(--green);color:#fff;border-color:var(--green)}
.rem-sound-row{display:flex;align-items:center;gap:10px;margin:-4px 0 6px}
.rem-sound-row select{flex:1;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.line-menu{position:fixed;z-index:160;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 14px 36px rgba(30,45,40,.22);padding:5px;animation:obIn .15s ease}
.line-menu button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:8px 10px;border-radius:7px;font-size:13px;color:var(--ink)}
.line-menu button span{width:18px;text-align:center;flex:none}
.line-menu button small{margin-left:auto;font-size:11px;color:#9aa6a6}
.line-menu button:hover:not([disabled]),.line-menu button:focus-visible{background:#f0f6f6;outline:none}
.line-menu button.danger{color:#a2412b}.line-menu button.danger:hover:not([disabled]){background:#fbe9e3}
.line-menu button[disabled]{opacity:.45;cursor:not-allowed}
.line-menu hr{border:0;border-top:1px solid var(--line);margin:4px 2px}
/* kayıt etiketi = bitir düğmesi (en sağda) */
.head-actions .save-state{order:99;cursor:pointer;font:inherit;font-size:12px;position:relative}
.head-actions .save-state .ss-done{display:none;font-style:normal;font-weight:700;color:var(--green);margin-left:4px;padding-left:9px;border-left:1px solid #cfe3dc}
.head-actions .save-state:hover .ss-done,.head-actions .save-state:focus-visible .ss-done{display:inline}
.head-actions .save-state:hover{border-color:#b9d8d0;filter:none}
.head-actions .save-state.saved:hover small{display:none}
.ss-retry{font-size:12px;font-weight:700;color:#a2412b;text-decoration:underline;padding-left:4px}

/* ---- sağ üst: zil + hesap ---- */
.top-right{position:fixed;top:16px;right:22px;z-index:65;display:flex;align-items:center;gap:10px}
.top-right .bell{background:#fff;box-shadow:0 4px 14px #1e2d3514}
.acct{position:relative}
.acct-btn{display:flex;align-items:center;gap:9px;height:42px;padding:0 12px 0 4px;border-radius:21px;background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px #1e2d3514;max-width:230px}
.acct-btn:hover{border-color:#c9dada;filter:none}
.acct-btn .avatar{width:34px;height:34px;flex:none}
.acct-btn .me-text{display:flex;flex-direction:column;min-width:0;text-align:left;line-height:1.2}
.acct-btn .me-text b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct-btn .me-text small{font-size:10.5px;color:#8a9595;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct-btn .me-chev{color:#8a9595;font-size:13px;margin-top:-4px}
.menu.acct-menu{position:absolute;top:calc(100% + 8px);right:0;left:auto;bottom:auto;width:250px;z-index:70;box-shadow:0 18px 44px rgba(30,45,40,.2);border-radius:12px}
.acct-head{display:flex;flex-direction:column;gap:3px;padding:10px 12px 12px;border-bottom:1px solid var(--line);margin-bottom:4px}
.acct-head b{font-size:13.5px}.acct-head small{font-size:11.5px;color:#8a9595;overflow:hidden;text-overflow:ellipsis}
.acct-head .pill{align-self:flex-start;margin-top:4px}
.menu.acct-menu .danger{color:#a2412b}
.bell-fixed{display:none}
.layout>.right{padding-top:52px}
@media(min-width:901px){#notesView .layout>.right{padding-top:56px}}
.dash-head,.pp-top,.users-head{padding-right:300px}
.users-head{padding-right:0;margin-top:44px}
/* sol menü: kullanıcı kutusu kalktı, proje listesi tüm boşluğu kullanır */
#projectList{flex:1 1 auto}
.proj-filter{flex:none;padding:0 4px 8px}
.proj-filter input{width:100%;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:#f5f8f8;font-size:12.5px;outline:none}
.proj-filter input:focus{border-color:#9cc3c3;background:#fff}
.proj-none{font-size:12px;color:#9aa6a6;padding:8px 12px}
#newProjectBtn{margin-bottom:6px}
body.side-collapsed .proj-filter{display:none}
@media(max-width:1150px){.acct-btn .me-text{display:none}.acct-btn{padding:0 8px 0 4px}.dash-head,.pp-top{padding-right:120px}}
@media(max-width:900px){main{padding-top:58px}.layout>.right,#notesView .layout>.right{padding-top:0}.dash-head,.pp-top{padding-right:0}.users-head{margin-top:0}}
@media(max-width:650px){.top-right{position:absolute;top:12px;right:12px}.top-right .bell,.acct-btn{height:36px}.top-right .bell{width:36px}.acct-btn .avatar{width:28px;height:28px}main{padding-top:0}aside .brand{padding-right:96px}}
#headerAvatar{display:none!important}

/* ---- sağ ray: ana menü + takvim ---- */
.rail-nav{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px}
.rail-nav .nav{margin:2px 0;padding:10px 12px;font-size:13.5px}
.rail-nav .nav .nl,.rail-nav .nav .nc{display:inline!important}
.rail-nav .nav{justify-content:flex-start!important}
.rail-cal .panel{margin-bottom:0}
.rail-cal[hidden]{display:none}
#notesView .layout{grid-template-columns:minmax(0,1fr)!important}
.dash-head,.pp-top{padding-right:0!important}
.users-head{margin-top:0!important}
@media(min-width:901px){
  main{padding-right:330px}
  .rail{position:fixed;top:74px;right:22px;width:288px;bottom:16px;z-index:20;display:flex;flex-direction:column;gap:14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9d8d8 transparent;padding-bottom:4px}
  #notesView .layout{padding-right:0}
}
@media(min-width:901px) and (max-width:1150px){main{padding-right:282px}.rail{width:246px;right:18px}}
@media(max-width:900px){
  main{display:flex;flex-direction:column}
  .rail{display:contents}
  .rail-nav{order:-1;display:flex;gap:4px;overflow-x:auto;margin:0 24px 6px;padding:6px;scrollbar-width:none}
  .rail-nav .nav{width:auto;flex:none;margin:0;padding:9px 12px}
  .rail-cal{order:99;margin:0 24px 24px}
  main>.view{order:1}
}
@media(max-width:650px){.rail-nav{margin:0 15px 6px}.rail-cal{margin:0 15px 20px}}

/* ---- sol menü: projeler üstte, yeni proje düğmesi ---- */
aside .proj-label{margin-top:22px}
aside>.workspace{display:none}
#newProjectBtn.new-project{flex:none;justify-content:center;gap:8px;margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#f3ac48;color:#3f2a07;font-weight:700;box-shadow:0 3px 0 #d98f2b,0 6px 16px #f3ac4840;transition:transform .12s ease,box-shadow .12s ease,background .12s}
#newProjectBtn.new-project:hover{background:#f6b95e;filter:none;transform:translateY(-1px);box-shadow:0 4px 0 #d98f2b,0 10px 20px #f3ac4855}
#newProjectBtn.new-project:active{transform:translateY(2px);box-shadow:0 1px 0 #d98f2b}
#newProjectBtn.new-project .ni{font-size:16px;font-weight:800;color:#3f2a07}
#newProjectBtn.new-project .nl{font-weight:700!important;color:#3f2a07!important}
#newProjectBtn.new-project:focus-visible{outline:2px solid var(--green);outline-offset:2px}
body.side-collapsed #newProjectBtn.new-project{width:48px;height:48px;padding:0;align-self:center;border-radius:12px}
@media(max-width:650px){#newProjectBtn.new-project{padding:9px 12px;margin:4px 0 0;font-size:13px}}
/* seçim çubuğu */
.sel-bar{position:fixed;z-index:90;display:flex;align-items:center;gap:2px;padding:4px;background:#243036;border-radius:10px;box-shadow:0 10px 26px #0004;animation:sbIn .14s ease}
.sel-bar[hidden]{display:none}
.sel-bar:after{content:'';position:absolute;left:50%;bottom:-5px;margin-left:-5px;border:5px solid transparent;border-bottom:0;border-top-color:#243036}
.sel-bar button{min-width:30px;height:30px;border-radius:7px;color:#fff;font-size:14px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center}
.sel-bar button:hover{background:#ffffff1f;filter:none}
.sel-bar .sb-h,.sel-bar .sb-n{font:800 12.5px Manrope,sans-serif}
.sel-bar button[data-sel=copy]{font-size:12px;font-weight:600}
.sb-sep{width:1px;height:18px;background:#ffffff33;margin:0 3px}
@keyframes sbIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.sel-bar s{color:#fff}
.pad-tools .tool-ocr{white-space:nowrap}
.pad-tools{flex-wrap:wrap;row-gap:4px}
/* düzenlerken biçimli görünüm (canlı önizleme) */
.pad .tx-wrap{position:relative;flex:1;min-width:0;display:block}
.pad .tx-wrap textarea.tx{width:100%}
.pad .ln-view{position:absolute;inset:0;pointer-events:none;padding:0 18px;font-size:13.5px;line-height:var(--row);color:var(--pad-ink);white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;display:none}
.pad .has-mark .ln-view{padding-left:8px}
.pad .ln.is-h .ln-view{font-weight:700;font-size:15.5px}
.pad .ln.done .ln-view{text-decoration:line-through;color:#a99c6c}
.pad .tx-wrap.has-view .ln-view{display:block}
.pad .tx-wrap.has-view textarea.tx:not(:focus){color:transparent}
.pad .tx-wrap.has-view textarea.tx:focus+.ln-view{display:none}
.pad .ln-view strong{font-weight:700}
.pad .ln-view .htag,.pad .ln-view .mention{pointer-events:none}
@media(max-width:650px){.pad .ln-view{padding:0 12px}}
@media(max-width:1440px){.pad-tools .tool-ocr b{display:none}.pad-tools .tool-ocr{padding:0 8px}}
/* açık biçimler */
.sel-bar button.on{background:#f3ac48;color:#3f2a07}
.sel-bar button.on s{color:#3f2a07}
.pad-tools button.on{background:#fff;color:var(--green);box-shadow:inset 0 0 0 1.5px var(--green)}
.pad-tools button.on s{color:var(--green)}
/* kopyalarken yalnızca metin seçilsin */
.pad .ln .no,.pad .ln-author,.pad .ln-rem,.pad .ln-mark{user-select:none;-webkit-user-select:none}
.pad .ln[title]{cursor:inherit}
.ln-author::after{content:attr(data-name)}
/* yazar bloğu köşeli çizgisi (okuma modu) */
.pad .ln{position:relative}
.pad .ln.bk-s::after,.pad .ln.bk-m::after,.pad .ln.bk-e::after{content:'';position:absolute;right:30px;width:10px;border-right:2px solid var(--bk,#d3bf74);pointer-events:none;opacity:.85}
.pad .ln.bk-s::after{top:calc(var(--row) - 7px);bottom:0}
.pad .ln.bk-m::after{top:0;bottom:0}
.pad .ln.bk-e::after{top:0;height:calc(var(--row) / 2);border-bottom:2px solid var(--bk,#d3bf74);border-bottom-right-radius:4px}
.pad .ln.other{--bk:color-mix(in srgb,var(--ink) 55%,transparent)}
.pad .ln .tx{padding-right:48px}
.pad .ln-author{margin-right:-30px}
@media(max-width:650px){.pad .ln.bk-s::after,.pad .ln.bk-m::after,.pad .ln.bk-e::after{right:12px}.pad .ln .tx{padding-right:28px}.pad .ln-author{margin-right:-14px}}
/* düzenlerken araç çubuğu kaydırınca üstte sabit kalır */
.pad{overflow:clip}
.pad.editing .pad-tools{position:sticky;top:0;z-index:6;box-shadow:0 6px 12px -8px #6b5a1240}
.pad.editing #ocrBar{position:sticky;top:46px;z-index:5}
.pad-tools{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
@media(max-width:1440px){.pad-tools .pad-del span{display:none}.pad-tools .pad-del{padding:0 9px}}
/* boşta kalınca kapatma sorusu */
.idle-prompt{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:140;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(30,45,40,.24);padding:12px 14px 14px 18px;overflow:hidden;max-width:calc(100vw - 24px);animation:raIn .35s ease}
.idle-prompt .ip-txt{display:flex;flex-direction:column;gap:2px;margin-right:8px;font-size:12.5px;color:#5f6d6d}
.idle-prompt .ip-txt>b{font-size:14px;color:var(--ink)}
.idle-prompt button{padding:9px 13px;font-size:12.5px}
.idle-prompt .ip-bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--green);transform-origin:left;animation:ipBar linear forwards}
@keyframes ipBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:650px){.idle-prompt{flex-wrap:wrap;bottom:12px}.idle-prompt .ip-txt{flex-basis:100%}}

/* ---- Tüm projeler görünümü ---- */
.project.all-projects .all-pi{background:#f3ac48;color:#fff}
.project.all-projects .all-dot{background:linear-gradient(135deg,#f3ac48,#1f6f6a)}
.project.all-projects{margin-bottom:6px;border-bottom:1px dashed var(--line);border-radius:10px 10px 0 0;padding-bottom:10px}
.project.all-projects.active{border-bottom-color:transparent;border-radius:10px}
.proj-chip{display:inline-flex;align-items:center;gap:5px;font:600 11px 'DM Sans',sans-serif;color:#4c5b5a;background:color-mix(in srgb,var(--c) 14%,#fff);border:1px solid color-mix(in srgb,var(--c) 35%,#fff);padding:2px 8px 2px 6px;border-radius:999px;margin-left:8px;white-space:nowrap;vertical-align:middle;letter-spacing:0;text-transform:none}
.proj-chip .dot{width:7px;height:7px;margin:0}
.pad-head .proj-chip{margin-left:10px}
.sum-note h3 .proj-chip{font-size:10.5px}
.pick-proj{display:grid;gap:6px;max-height:50vh;overflow:auto}
.pick-proj button{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;font-weight:600;font-size:14px}
.pick-proj button:hover{border-color:var(--green);background:#f3f8f7}
.pick-proj button span{flex:1}.pick-proj small{color:#8a9595;font-weight:500}
.img-missing{background:repeating-linear-gradient(45deg,#f7f3ea,#f7f3ea 8px,#f1ecdf 8px,#f1ecdf 16px)!important}
.img-miss{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:100%;padding:8px;text-align:center;color:#8a7f66;font-size:20px}
.img-miss b{font-size:11.5px;color:#6f6550}.img-miss small{font-size:10.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ---- dil seçimi ---- */
.lang{position:relative}
.lang-btn{display:flex;align-items:center;gap:6px;height:42px;padding:0 12px;border-radius:21px;background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px #1e2d3514;color:#2c3a3a}
.lang-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
.lang-btn b{font-size:12px;letter-spacing:.4px}
.lang-btn:hover{border-color:#c9dada;filter:none}
.menu.lang-menu{position:absolute;top:calc(100% + 8px);right:0;left:auto;bottom:auto;width:190px;z-index:70;box-shadow:0 18px 44px rgba(30,45,40,.2);border-radius:12px;padding:6px}
.lang-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border-radius:8px;font-size:13.5px;text-align:left}
.lang-menu button:hover{background:#f2f6f5}
.lang-menu .lf{font-size:17px;line-height:1}
.lang-menu .lchk{margin-left:auto;font-style:normal;color:var(--green);font-weight:800;visibility:hidden}
.lang-menu button.on{font-weight:700}.lang-menu button.on .lchk{visibility:visible}
.auth-langs{margin-top:22px;padding-top:16px;border-top:1px dashed var(--line);text-align:center}
.auth-langs p{margin:0 0 10px;font-size:12.5px;color:#6b7878}
.auth-lang-list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.auth-lang-list button{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:12px;color:#3c4a4a}
.auth-lang-list button:hover{border-color:var(--green)}
.auth-lang-list button.on{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}
.auth-lang-list .lf{font-size:14px;line-height:1}
@media(max-width:650px){.lang-btn{height:36px;padding:0 9px}.lang-btn b{display:none}}
