@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');
:root{--bg:#14161a;--accent:#c8a15a;--string:#c2443a;--panel:color-mix(in srgb,var(--bg),#fff 7%);--line:color-mix(in srgb,var(--bg),#fff 16%);--text:#e8e6e1;--muted:#8d9099}
*{box-sizing:border-box}
body{margin:0;height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font:14px/1.5 'IBM Plex Sans',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
h1,h2,h3,.brand{font-family:'Chakra Petch',system-ui,sans-serif;font-weight:600;letter-spacing:0.04em}
.sp{flex:1}.muted{color:var(--muted)}
#bar,.bar2{display:flex;align-items:center;gap:14px;padding:10px 20px;background:#15181d;border-bottom:1px solid #262b33}
.brand{font-family:'Chakra Petch',system-ui,sans-serif;font-size:18px;letter-spacing:0.06em}
.bar2{font-family:'Chakra Petch',system-ui,sans-serif;font-size:15px;letter-spacing:0.03em}
.bar2 a{color:var(--muted);display:inline-flex;align-items:center;gap:6px;font-weight:500}
.bar2 a:hover{color:var(--accent)}
#bar label{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}
input[type=color]{width:28px;height:22px;padding:0;border:0;background:none;cursor:pointer}
main{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}
button{background:var(--accent);color:#14110a;border:0;border-radius:3px;padding:8px 16px;font-family:'Chakra Petch',system-ui,sans-serif;font-weight:600;letter-spacing:0.04em;cursor:pointer;transition:filter .15s,background .15s}
button:hover{filter:brightness(1.1)}
button:disabled{opacity:.4;cursor:default}
button.ghost{background:#262b33;color:var(--text);border:1px solid #333a44}
button.ghost:hover{background:#333a44;border-color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.guest #logout{display:none}
.card,.tile{background:#171b20;border:1px solid #262b33;border-left:3px solid var(--accent);border-radius:4px;box-shadow:0 4px 14px rgba(0,0,0,0.4);transition:border-color .15s,box-shadow .15s,transform .15s}
.login{margin:auto;width:340px;padding:28px;display:flex;flex-direction:column;gap:12px;background:#15181d;border:1px solid #262b33;border-left:3px solid var(--accent);border-radius:4px;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);box-shadow:0 16px 40px rgba(0,0,0,0.6)}
.login h1{margin:0 0 4px;font-family:'Chakra Petch',system-ui,sans-serif;letter-spacing:.06em}
input[type=password]{padding:11px 12px;border-radius:4px;border:1px solid #262b33;background:#0e1013;color:var(--text)}
input[type=password]:focus{border-color:var(--accent);outline:none}
.msg{margin:0;min-height:1.2em;color:var(--string);font-size:13px}
.wrap{width:100%;max-width:960px;margin:0 auto;padding:32px 20px}
.wrap h1{font-size:28px;margin:0 0 20px;font-family:'Chakra Petch',system-ui,sans-serif;letter-spacing:.04em}.wrap h2{font-size:20px;margin:8px 0 14px;font-family:'Chakra Petch',system-ui,sans-serif}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-bottom:28px}
.tile{position:relative;display:flex;flex-direction:column;gap:4px;padding:20px;color:var(--text);text-align:left;font-weight:600;cursor:pointer}
button.tile:hover,a.tile:hover{border-color:var(--accent);box-shadow:0 8px 24px rgba(0,0,0,0.6);transform:translateY(-2px)}
.tile b{font-family:'Chakra Petch',system-ui,sans-serif;font-size:16px;letter-spacing:.03em}
.tile small{font-weight:400;color:var(--muted)}
.tile.off{opacity:.45;cursor:default}
.del{position:absolute;top:10px;right:12px;color:var(--muted)}.del:hover{color:var(--string)}
#stage{flex:1;position:relative;overflow:hidden;touch-action:none;background:radial-gradient(var(--line) 1px,transparent 1px) 0 0/24px 24px}
#world{position:absolute;left:0;top:0}
#strings{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none}
#strings line{stroke:var(--string);stroke-width:3;pointer-events:stroke;cursor:pointer}
.node{position:absolute;padding:14px 12px 12px;background:var(--panel);border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 18px #0006;user-select:none}
.node.sel{outline:2px solid var(--accent)}
.txt{min-height:40px;white-space:pre-wrap;word-break:break-word}
.txt[contenteditable=true]{outline:1px dashed var(--accent);user-select:text}
.node img{width:100%;display:block;border-radius:3px}
.pin{position:absolute;top:-7px;left:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:var(--string);border:2px solid var(--bg);cursor:crosshair}
.x{position:absolute;top:2px;right:6px;font-size:12px;color:var(--muted);cursor:pointer;opacity:0}
.node:hover .x{opacity:1}
#menu{position:absolute;display:flex;gap:6px;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:10px;z-index:5}
#menu[hidden]{display:none}
/* ortak */
input[type=text],input[type=number]{padding:9px 12px;border-radius:4px;border:1px solid #262b33;background:#0e1013;color:var(--text);font-family:inherit;}
input[type=text]:focus,input[type=number]:focus{border-color:var(--accent);outline:none;}
/* notlar */
.ttl{background:none!important;border:0!important;font:600 18px 'Chakra Petch',system-ui,sans-serif;letter-spacing:0.04em;min-width:220px;padding:4px!important}
.doc-page {
  background: #171b20;
  width: 210mm;
  min-height: 297mm;
  max-width: 100%;
  padding: 25mm;
  outline: none;
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  border: 1px solid #262b33;
  border-left: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  position: relative;
}
.doc-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.doc-container.book-mode {
  flex-direction: row;
  gap: 40px;
}
.doc-page img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  transition: outline 0.2s;
}
.doc-page img:hover { outline: 2px solid var(--string); }
.doc-page-wrapper:hover .page-del-btn { opacity: 1 !important; }
#desk{flex:1;overflow:auto;padding:28px 16px}
.row{position:relative;display:flex;justify-content:center;max-width:1200px;margin:0 auto 28px}
.paper{flex:0 1 595px;min-height:842px;padding:56px 60px;background:#fbfaf7;color:#1b1b1b;font:16px/1.6 Georgia,serif;box-shadow:0 8px 24px #0007;outline:none;overflow-wrap:anywhere}
.two .paper:first-of-type{background:linear-gradient(90deg,#fbfaf7 90%,#e6e1d5)}
.two .paper:last-of-type{background:linear-gradient(270deg,#fbfaf7 90%,#e6e1d5)}
.rx{position:absolute;top:8px;right:8px;opacity:0;padding:2px 9px;background:#000a;color:#fff}
.row:hover .rx{opacity:1}
#tb{position:fixed;z-index:10;display:flex;gap:8px;align-items:center;padding:8px 10px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #0008}
#tb[hidden],#mq[hidden]{display:none}
#tb select{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:5px}
#tb button.ghost{padding:5px 10px}
.sw{width:20px;height:20px;padding:0!important;border-radius:50%!important;border:1px solid var(--line)!important}
#mq{position:fixed;z-index:9;border:1px dashed var(--accent);background:rgba(200,161,90,.15);pointer-events:none}
.mqon{cursor:crosshair}.mqon .paper{user-select:none}
::highlight(mq){background:rgba(200,161,90,.45)}
/* görevler */
.focus{display:flex;align-items:center;gap:10px;padding:14px 18px;margin-bottom:18px}
.focus input{width:70px}
output{margin-left:auto;font:600 26px 'Chakra Petch',system-ui,sans-serif;font-variant-numeric:tabular-nums}
.addrow{display:flex;gap:8px;margin-bottom:18px}.addrow input{flex:1}
.ml{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ml li{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}
.ml .mt{flex:1}.ml li.done .mt{text-decoration:line-through;color:var(--muted)}
.ml time{color:var(--muted);font-variant-numeric:tabular-nums}
.ml button{padding:6px 12px}
/* vscode launch button */
.vscode-btn {display: inline-flex;align-items: center;gap: 7px;background: #171b20;color: var(--text);border: 1px solid #262b33;border-radius: 4px;padding: 6px 12px;font-size: 13px;font-weight: 600;font-family: 'Chakra Petch', system-ui, sans-serif;letter-spacing: 0.03em;transition: border-color .15s ease, background-color .15s ease, color .15s ease;}
.vscode-btn svg {display: block;fill: currentColor;opacity: .85;}
.vscode-btn:hover {border-color: var(--accent);color: var(--accent);background: #1a1e24;}
.vscode-btn:active {transform: translateY(1px);}
/* notlar */
.ttl {background: transparent !important;color: var(--text) !important;border: 0 !important;font: 600 18px 'Chakra Petch', system-ui, sans-serif;letter-spacing:0.04em;min-width: 220px;padding: 4px !important;}
.ttl:focus {outline: 1px dashed var(--accent) !important;}
/* Modal (Özel Bildirim Pencereleri) */
#modal-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%;background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px);display: flex; align-items: center; justify-content: center;z-index: 9999; opacity: 0; pointer-events: none;transition: opacity 0.2s ease;}
#modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {background: #15181d; border: 1px solid #262b33; border-left: 3px solid var(--accent); border-radius: 6px; padding: 24px; width: 90%; max-width: 380px; box-shadow: 0 16px 40px rgba(0,0,0,0.75); transform: translateY(16px) scale(0.95); transition: transform 0.2s ease; display: flex; flex-direction: column; gap: 16px;}
#modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal h3 { margin: 0; font-size: 18px; color: var(--text); font-family: 'Chakra Petch', system-ui, sans-serif; letter-spacing: 0.04em; }
.modal p { margin: 0; font-size: 14px; color: var(--muted); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.modal-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.modal input { width: 100%; font-size: 14px; background: #0e1013; border: 1px solid #262b33; color: var(--text); border-radius: 4px; padding: 10px 12px; font-family: inherit; }
.modal input:focus { border-color: var(--accent); outline: none; }
.modal button.danger { background: var(--string); color: #fff; }
/* Boards - Yakınlaştırma ve Boyutlandırma Araçları */
.rsz { position:absolute; bottom:0; right:0; width:16px; height:16px; cursor:nwse-resize; font-style:normal; line-height:16px; text-align:center; color:var(--muted); opacity:0; user-select:none; }
.node:hover .rsz { opacity:1; }
.node { display:flex; flex-direction:column; overflow:hidden; }
.txt { flex:1; width:100%; height:100%; overflow:auto; outline:none; min-height:0; }
.node img { flex:1; width:100%; height:100%; object-fit:cover; }
/* Özel Kaydırma Çubuğu (Scrollbar) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
/* Global Focus Timer (Sayfalar Arası Sabit) */
#f-timer { position: fixed; top: 70px; right: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); z-index: 9999; font-variant-numeric: tabular-nums; font-weight: 600; transition: opacity 0.3s; }
#f-timer[hidden] { display: none !important; }
#f-timer input { width: 50px; background: transparent; border: none; color: var(--text); font: inherit; text-align: right; border-bottom: 1px solid var(--line); border-radius: 0; padding: 2px; }
#f-timer button { padding: 4px 10px; font-size: 13px; }
#f-timer #sys-hide { padding: 4px; color: var(--muted); } #f-timer #sys-hide:hover { color: var(--string); }
/* Suspect Board (Arananlar Panosu) */
.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 24px; padding-bottom: 40px; }
.s-card { background: #171b20; border: 1px solid #262b33; border-left: 3px solid var(--accent); border-radius: 4px; padding: 16px; position: relative; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.45); cursor: grab; text-align: center; min-height: 200px; align-items: center; justify-content: center; user-select: none; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.s-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
.s-card::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--string); border-radius: 50%; border: 2px solid var(--bg); box-shadow: 0 2px 4px rgba(0,0,0,0.5); z-index: 2; }
.s-card img { width: 100%; max-height: 220px; object-fit: cover; border: 2px solid #262b33; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); margin-top: 14px; pointer-events: none; }
.s-card .title { font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; pointer-events: none; padding: 0 8px; letter-spacing: 0.03em; }
.s-card .timer-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 13px; color: var(--muted); pointer-events: none; border-top: 1px dashed #262b33; padding-top: 12px; font-variant-numeric: tabular-nums; }
.s-card .timer-row button { pointer-events: auto; padding: 4px 12px; font-size: 12px; }
.s-card.dragging { cursor: grabbing; z-index: 10; }
/* Fotoğraf Büyütme Ekranı (Lightbox) */
#img-viewer { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); z-index: 10000; display: flex; align-items: center; justify-content: center; cursor: zoom-out; opacity: 0; pointer-events: none; transition: opacity 0.2s ease-in-out; }
#img-viewer.show { opacity: 1; pointer-events: auto; backdrop-filter: blur(4px); }
#img-viewer img { max-width: 90vw; max-height: 90vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); transform: scale(0.95); transition: transform 0.2s ease-out; }
#img-viewer.show img { transform: scale(1); }
/* HeadQuarters (Ana Ekran) - İğnelenmiş Görevler */
.hq-mission { display: flex; align-items: center; background: #171b20; border: 1px solid #262b33; border-left: 3px solid var(--accent); border-radius: 4px; overflow: hidden; margin-bottom: 16px; transition: transform 0.2s, border-color 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.4); max-width: 600px; }
.hq-mission:hover { transform: translateY(-2px); border-color: var(--accent); }
.hq-mission img { width: 120px; height: 100px; object-fit: cover; cursor: zoom-in; flex-shrink: 0; border-right: 1px solid #262b33; }
.hq-mission .details { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hq-mission .title { font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0.03em; }
.hq-mission .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
/* HQ Launchpad - Canlı Modül Butonları */
.launchpad { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 24px; }
.launch-btn { background: #171b20; border: 1px solid #262b33; border-left: 3px solid var(--accent); border-radius: 4px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: var(--text); position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 4px 12px rgba(0,0,0,0.3);}
.launch-btn::before {content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);opacity: 0; transition: opacity 0.3s ease; pointer-events: none; mix-blend-mode: screen;}
.launch-btn:hover { transform: translateY(-5px) scale(1.02); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0,0,0,0.5); }
.launch-btn:hover::before { opacity: 0.15; }
.launch-btn .icon { font-size: 32px; transition: transform 0.3s ease; }
.launch-btn:hover .icon { transform: scale(1.15) rotate(3deg); }
.launch-btn .title { font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0.05em; }
.launch-btn .badge { font-size: 12px; color: var(--muted); background: #0e1013; padding: 4px 10px; border-radius: 20px; border: 1px solid #262b33; font-weight: 600; font-variant-numeric: tabular-nums; }
.quick-capture {background: #171b20;border: 1px solid #262b33;border-radius: 4px;box-shadow: 0 8px 24px rgba(0,0,0,0.4);padding: 16px 16px 16px 48px;position: relative;margin-top: 32px;max-width: 600px;}
.quick-capture::before {content: '';position: absolute;top: 0; left: 36px; bottom: 0;width: 2px;background: var(--string);z-index: 1;}
.quick-capture-textarea {width: 100%;min-height: 128px;background: transparent;border: none;outline: none;resize: none;font-family: 'IBM Plex Sans', system-ui, sans-serif;font-size: 15px;line-height: 32px;color: var(--text);z-index: 2;position: relative;background-image: repeating-linear-gradient(transparent, transparent 31px, #262b33 31px, #262b33 32px);background-attachment: local;}
.qc-footer {display: flex;justify-content: flex-end;align-items: center;gap: 12px;margin-top: 8px;position: relative;z-index: 2;}
.qc-hint {font-size: 11px;color: var(--muted);}
/* Calendar & Logbook Modülü */
.cal-wrap { display: flex; height: calc(100vh - 44px); overflow: hidden; background: #0e1013; }
/* Sol Taraf: Takvim Kenar Çubuğu */
.cal-sidebar { width: 320px; background: #12151a; border-right: 1px solid #262b33; display: flex; flex-direction: column; flex-shrink: 0; }
.cal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px; border-bottom: 1px solid #262b33; font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 18px; letter-spacing: 0.04em; }
.cal-header button { padding: 4px 12px; font-size: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 16px; text-align: center; }
.cal-day-name { font-size: 11px; color: var(--muted); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; font-family: 'Chakra Petch', sans-serif; letter-spacing: 0.05em; }
.cal-day { padding: 8px 0; border-radius: 4px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; font-size: 14px; position: relative; font-variant-numeric: tabular-nums; }
.cal-day:hover { border-color: #262b33; background: #1a1e24; }
.cal-day.active { background: var(--accent); color: #14110a; font-weight: bold; border-color: var(--accent); }
.cal-day.has-note::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--string); }
.cal-day.active.has-note::after { background: #14110a; }
.cal-day.empty { visibility: hidden; }
/* Sağ Taraf: Kitap (Defter) Masası */
.cal-main { flex: 1; display: flex; flex-direction: column; overflow-y: auto; align-items: center; padding: 40px 16px; background: #0e1013; }
.cal-book { display: flex; box-shadow: 0 12px 32px rgba(0,0,0,0.6); border-radius: 4px; overflow: hidden; border: 1px solid #262b33; }
.cal-page { width: 400px; height: 650px; background: #15181d; padding: 36px; display: flex; flex-direction: column; }
.cal-page:first-child { border-right: 1px solid #262b33; background: linear-gradient(90deg, #15181d 94%, #0e1013); }
.cal-page:last-child { background: linear-gradient(270deg, #15181d 94%, #0e1013); }
.cal-page-title { font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 19px; border-bottom: 1px dashed #262b33; padding-bottom: 12px; margin-bottom: 16px; color: var(--accent); display: flex; justify-content: space-between; align-items: flex-end; letter-spacing: 0.04em; }
.cal-page-title small { font-size: 12px; color: var(--muted); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.cal-editor { flex: 1; outline: none; font-size: 14px; line-height: 1.6; color: var(--text); overflow-y: auto; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.cal-editor p { margin: 0 0 8px 0; min-height: 1.5em; }
.cal-editor p:empty::before { content: ''; display: inline-block; }
/* THE LAB & VAULT & ARSENAL EKRANI */
.lab-wrap { display: flex; height: calc(100vh - 44px); overflow: hidden; background: #0e1013; }
.lab-sidebar { width: 280px; background: #12151a; border-right: 1px solid #262b33; display: flex; flex-direction: column; flex-shrink: 0; }
.lab-tabs { display: flex; border-bottom: 1px solid #262b33; background: #15181d; }
.lab-tabs button { flex: 1; padding: 12px 0; background: transparent; border: none; color: var(--muted); cursor: pointer; font-family: 'Chakra Petch', system-ui, sans-serif; font-weight: 600; letter-spacing: 0.04em; border-bottom: 2px solid transparent; }
.lab-tabs button.active { color: var(--accent); border-bottom-color: var(--accent); background: #1a1e24; }
.lab-pane { flex: 1; overflow-y: auto; padding: 16px; display: none; }
.lab-pane.active { display: block; }
.v-item { padding: 10px 14px; background: #171b20; border: 1px solid #262b33; border-left: 3px solid transparent; border-radius: 4px; margin-bottom: 8px; cursor: pointer; font-size: 13px; font-family: 'Consolas', monospace; transition: all 0.15s; }
.v-item:hover, .v-item.active { border-left-color: var(--accent); background: #1a1e24; border-color: #262b33; }
.a-cmd { width: 100%; text-align: left; padding: 10px 14px; background: #171b20; border: 1px solid #262b33; border-left: 3px solid transparent; border-radius: 4px; margin-bottom: 8px; cursor: pointer; color: var(--string); font-family: 'Consolas', monospace; transition: all 0.15s; display: flex; justify-content: space-between; }
.a-cmd:hover { background: #1a1e24; color: var(--text); border-left-color: var(--string); }
.lab-main { flex: 1; display: flex; flex-direction: column; background: #0e1013; }
.lab-header { padding: 12px 24px; border-bottom: 1px solid #262b33; display: flex; justify-content: space-between; align-items: center; background: #15181d; font-family: 'Chakra Petch', system-ui, sans-serif; }
.lab-editor { flex: 1; background: #0a0c0e; color: #d4d4d4; padding: 24px; font-family: 'Consolas', 'Courier New', monospace; font-size: 14px; line-height: 1.6; border: none; outline: none; resize: none; tab-size: 4; }
.lab-terminal { height: 200px; background: #050608; color: #39ff14; font-family: 'Consolas', monospace; font-size: 13px; padding: 16px; border-top: 1px solid #262b33; overflow-y: auto; white-space: pre-wrap; }

/* ====================================================
   BOARD 2.0 (CANVAS & GRAPH) STILLERI
   ==================================================== */
.b-point {
  position: absolute;
  box-sizing: border-box;
  background: #171b20;
  border: 1px solid #262b33;
  border-radius: 4px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  user-select: none;
  cursor: grab;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, border-radius 0.2s ease, opacity 0.2s ease;
  overflow: hidden;
}
.b-point:hover { border-color: color-mix(in srgb, var(--line), #fff 25%); }
.b-point.selected {
  box-shadow: 0 0 0 2px var(--accent), 0 8px 24px rgba(0,0,0,0.5) !important;
  border-color: var(--accent) !important;
  z-index: 100;
}
.b-point.broken {
  border-color: var(--string) !important;
  background: color-mix(in srgb, var(--panel), var(--string) 12%) !important;
}
.b-point.dragging { cursor: grabbing; opacity: 0.9; z-index: 1000 !important; }

/* ====================================================
   DOT MODE (KIRMIZI NOKTA MODU) & CABLE STYLES
   ==================================================== */
#b-btn-dotmode.active {
  background: rgba(255, 51, 68, 0.25) !important;
  border-color: #ff3344 !important;
  color: #ff6677 !important;
  box-shadow: 0 0 10px rgba(255, 51, 68, 0.4);
}

.b-point.b-point-dot {
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, #ff5263 0%, #d81226 55%, #6e000c 100%) !important;
  border: 2px solid #ff3344 !important;
  box-shadow: 0 0 16px rgba(255, 45, 65, 0.75), inset 0 0 8px rgba(255, 130, 140, 0.6) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, border-radius 0.2s ease, opacity 0.2s ease;
  overflow: visible !important;
}

.b-point.b-point-dot:hover {
  transform: scale(1.18);
  border-color: #ff7788 !important;
  box-shadow: 0 0 28px rgba(255, 45, 65, 0.95), inset 0 0 10px rgba(255, 170, 180, 0.8) !important;
  z-index: 120 !important;
}

.b-point.b-point-dot.selected {
  box-shadow: 0 0 0 3px var(--accent), 0 0 28px rgba(200, 161, 90, 0.9) !important;
  border-color: #fff !important;
  z-index: 130 !important;
}

.b-point.b-point-dot.broken {
  background: radial-gradient(circle at 35% 35%, #ff8888 0%, #aa2222 55%, #440000 100%) !important;
  border-color: #ffaa00 !important;
  box-shadow: 0 0 16px rgba(255, 170, 0, 0.6) !important;
}

.b-point.b-point-dot.dragging {
  opacity: 0.95;
  transform: scale(1.22);
  z-index: 1000 !important;
}

.b-dot-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  position: relative;
}

.b-dot-icon {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8));
  line-height: 1;
  user-select: none;
}

.b-dot-micro-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* Pin (Kablo Bağlantı Noktası) Dot Modu */
.b-point.b-point-dot .b-dot-pin {
  position: absolute;
  top: -6px;
  right: -6px;
  left: auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff2233;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 50, 70, 0.9);
  opacity: 0;
  cursor: crosshair;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.b-point.b-point-dot:hover .b-dot-pin {
  opacity: 1;
  transform: scale(1.1);
}

.b-point.b-point-dot .b-resize {
  display: none !important;
}

/* Cyber Tooltip HUD */
.b-dot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #111419;
  border: 1px solid #ff3344;
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 180px;
  max-width: 280px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,0.85), 0 0 16px rgba(255,51,68,0.3);
}

.b-dot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ff3344 transparent transparent transparent;
}

.b-point.b-point-dot:hover .b-dot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.b-dot-tooltip-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.b-dot-tooltip-icon {
  font-size: 13px;
}

.b-dot-tooltip-kind {
  font-size: 10px;
  font-weight: 700;
  color: #ff6677;
  letter-spacing: 0.5px;
}

.b-dot-tooltip-size {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
  font-family: monospace;
}

.b-dot-tooltip-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  word-break: break-word;
}

.b-dot-tooltip-preview {
  font-size: 11px;
  color: #b0b4bd;
  margin-top: 4px;
  line-height: 1.35;
  max-height: 60px;
  overflow: hidden;
}

.b-dot-tooltip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.b-dot-tag {
  font-size: 9px;
  padding: 1px 5px;
  background: rgba(255, 51, 68, 0.15);
  border: 1px solid rgba(255, 51, 68, 0.4);
  color: #ff99aa;
  border-radius: 3px;
}

.b-dot-tooltip-hint {
  font-size: 9px;
  color: #777c88;
  margin-top: 6px;
  border-top: 1px solid #22262e;
  padding-top: 4px;
  font-family: 'Chakra Petch', sans-serif;
}

.b-kind-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 6px;
}
.b-point-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}
.b-point-preview {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
  overflow: hidden;
  word-break: break-word;
}
.b-point-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}
.b-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg), #fff 5%);
  color: var(--muted);
  border: 1px solid var(--line);
}
.b-resize {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  opacity: 0;
  transition: opacity 0.15s;
  background: radial-gradient(circle at bottom right, var(--muted) 2px, transparent 3px);
  z-index: 5;
}
.b-point:hover .b-resize { opacity: 0.8; }

/* Picker Menü */
.b-picker {
  position: absolute;
  z-index: 100;
  width: 320px;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.b-picker-input {
  width: 100%;
  padding: 12px 14px;
  background: #0e1013;
  border: none;
  border-bottom: 1px solid #262b33;
  color: var(--text);
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-size: 14px;
  outline: none;
}
.b-picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #262b33;
  background: #12151a;
}
.b-picker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #171b20;
  border: 1px solid #262b33;
  border-radius: 4px;
  color: var(--text);
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.b-picker-btn:hover { border-color: var(--accent); color: var(--accent); background: #1a1e24; }
.b-picker-results {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.b-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: 1px solid #262b33;
  font-size: 13px;
  transition: background 0.1s;
}
.b-picker-item:hover { background: color-mix(in srgb, var(--accent), transparent 90%); }

/* Yan Panel (Side Panel) */
.b-side-panel {
  position: absolute;
  top: 44px;
  right: 0;
  width: 340px;
  height: calc(100vh - 44px);
  background: #12151a;
  border-left: 1px solid #262b33;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.6);
}
.b-side-panel.open { transform: translateX(0); }
.b-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #15181d;
  border-bottom: 1px solid #262b33;
  font-family: 'Chakra Petch', system-ui, sans-serif;
}
.b-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-panel-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.b-panel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.b-swatch-list {
  display: flex;
  gap: 8px;
  align-items: center;
}
.b-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s;
}
.b-swatch:hover { transform: scale(1.15); }
.b-swatch.active { border-color: var(--text); }

/* Gruplar (Çerçeveler / Frames) */
.b-group {
  position: absolute;
  box-sizing: border-box;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent), transparent 92%);
  z-index: 5;
  transition: border-color 0.15s, background-color 0.15s;
}
.b-group.dragging {
  opacity: 0.9;
  z-index: 50 !important;
}
.b-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: grab;
  user-select: none;
}
.b-group.dragging .b-group-header { cursor: grabbing; }
.b-group-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b-group-resize {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  background: radial-gradient(circle at bottom right, var(--muted) 3px, transparent 4px);
  z-index: 10;
}

/* Çoklu Seçim Araç Çubuğu (Floating Toolbar) */
.b-selection-toolbar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.st-btn {
  padding: 5px 8px !important;
  font-size: 13px !important;
  font-weight: 500;
  border-radius: 4px;
  background: #171b20;
  border: 1px solid #262b33;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Chakra Petch', system-ui, sans-serif;
}
.st-btn:hover { border-color: var(--accent); color: var(--accent); background: #1a1e24; }

/* Minimap ve Zoom Kontrolleri */
.b-minimap-wrap {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.b-zoom-bar {
  display: flex;
  gap: 4px;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.b-nav-btn {
  padding: 4px 8px !important;
  font-size: 13px !important;
  min-width: 28px;
  min-height: 28px;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171b20;
  color: var(--text);
  cursor: pointer;
}
.b-nav-btn:hover { background: #262b33; border-color: #333a44 !important; }
.b-nav-btn.active { color: var(--accent); background: #1a1e24; border-color: var(--accent) !important; }

.b-minimap {
  position: relative;
  width: 180px;
  height: 120px;
  background: rgba(14, 16, 19, 0.92);
  border: 1px solid #262b33;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  overflow: hidden;
  cursor: crosshair;
}
.b-minimap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.b-minimap-viewport {
  position: absolute;
  border: 1px solid var(--accent);
  background: rgba(200, 161, 90, 0.15);
  pointer-events: none;
  box-sizing: border-box;
}

/* İp Bağlantı Tutamacı (Pin) */
.b-pin {
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--string);
  border: 2px solid var(--bg);
  cursor: crosshair;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s;
}
.b-point:hover .b-pin { opacity: 1; }

/* Arama ve Filtre */
.b-search-bar {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 85;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 6px;
  padding: 8px 12px;
  width: 90%;
  max-width: 460px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}
.bs-btn { padding: 3px 8px !important; font-size: 11px !important; }
.bs-tag-filter.active {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-weight: bold;
  border-color: var(--accent) !important;
}
.b-point.search-match {
  box-shadow: 0 0 0 2px var(--accent), 0 0 16px rgba(200, 161, 90, 0.4) !important;
  opacity: 1 !important;
  z-index: 60 !important;
}
.b-point.search-dim {
  opacity: 0.22 !important;
  pointer-events: none;
}

/* ===================================================
   ANA MENÜ / HEADQUARTERS COMMAND CENTER (OBSIDIAN CANVAS STYLE)
   =================================================== */
.shell {
  display: grid;
  grid-template-columns: 260px 1fr 290px;
  grid-template-rows: 60px 1fr 68px;
  min-height: calc(100vh - 44px);
  background: #0e1013;
  color: #e9e7e2;
  font: 14px/1.45 'IBM Plex Sans', system-ui, sans-serif;
  overflow: hidden;
}
.top {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #15181d;
  border-bottom: 1px solid #262b33;
  z-index: 20;
}
.brand-title {
  font: 600 18px 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: .06em;
  color: #e9e7e2;
}
.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 460px;
}
.search-box {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  background: #0e1013;
  border: 1px solid #262b33;
  color: #e9e7e2;
  font: inherit;
  border-radius: 4px;
}
.search-box::placeholder { color: #8b909a; }
.search-box:focus { border-color: var(--accent); outline: none; }
.search-dropdown {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.7);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.search-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #1a1e24;
  cursor: pointer;
  color: #e9e7e2;
  text-decoration: none;
}
.search-item:hover { background: #1f252d; }
.side {
  padding: 8px 16px 18px;
  overflow-y: auto;
  background: #12151a;
}
.side.l { border-right: 1px solid #262b33; }
.side.r { border-left: 1px solid #262b33; }
.side-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 8px;
  font: 600 12px 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: .16em;
  color: #8b909a;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  color: #e9e7e2;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background .12s, border-color .12s;
}
.side-item:hover, .side-item.on {
  background: #1a1e24;
  border-left-color: var(--accent);
}
.sq { width: 10px; height: 10px; flex: none; border-radius: 2px; }
.btn-hq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  background: #262b33;
  color: #e9e7e2;
  font: 600 13px 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background .15s, filter .15s;
}
.btn-hq:hover { background: #333a44; }
.btn-hq.pri { background: var(--accent); color: #14110a; }
.btn-hq.pri:hover { filter: brightness(1.1); }
.btn-hq.ghost { background: #1e232b; border: 1px solid #2d3540; color: #c4c8d0; }
.btn-hq.ghost:hover { background: #262c36; border-color: var(--accent); color: #fff; }
.btn-hq.danger { background: rgba(194,68,58,0.18); border: 1px solid rgba(194,68,58,0.5); color: #ff6b6b; }
.btn-hq.danger:hover { background: rgba(194,68,58,0.32); color: #ff8888; }
.btn-mini {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #262b33;
  color: #e9e7e2;
  border: 0;
  cursor: pointer;
  border-radius: 3px;
}
.btn-mini:hover { background: #333a44; }
.main-hq {
  padding: 20px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mh h1 {
  margin: 0;
  font: 600 28px 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: .04em;
  color: #e9e7e2;
}
.stage-hq {
  position: relative;
  flex: 1;
  min-height: 520px;
  margin-top: 10px;
  background: radial-gradient(#262b33 1px, transparent 1px) 0 0/24px 24px;
  border: 1px solid #262b33;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
}
.strings-hq {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.pin-card {
  position: absolute;
  padding: 20px 14px 14px;
  background: #171b20;
  border-left: 3px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  cursor: grab;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  transition: box-shadow .15s ease, border-color .15s;
  z-index: 2;
  min-width: 160px;
}
.pin-card:active { cursor: grabbing; z-index: 10; box-shadow: 0 10px 28px rgba(0,0,0,0.7); }
.pin-card::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #c2443a;
  border-radius: 50%;
}
.pin-card h3 {
  margin: 0 0 4px;
  font: 600 15px 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: .03em;
  color: #e9e7e2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar-progress {
  height: 6px;
  background: #262b33;
  margin-top: 10px;
  border-radius: 2px;
  overflow: hidden;
}
.bar-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
}
.ph-box {
  height: 64px;
  margin-top: 6px;
  background: repeating-linear-gradient(135deg, #1d2228 0 10px, #171b20 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b909a;
  font-size: 12px;
  border: 1px dashed #262b33;
}
.row-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  font-size: 13px;
  cursor: pointer;
  color: #e9e7e2;
}
.row-task input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.row-task.done span {
  text-decoration: line-through;
  color: #8b909a;
}
.date-badge {
  flex: none;
  width: 44px;
  padding: 4px 0;
  text-align: center;
  background: #1a1e24;
  border-top: 3px solid var(--accent);
  font: 600 15px 'Chakra Petch', system-ui, sans-serif;
  line-height: 1.1;
  border-radius: 0 0 3px 3px;
}
.date-badge small {
  display: block;
  font: 500 10px 'IBM Plex Sans', system-ui, sans-serif;
  color: #8b909a;
}
.ask-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  background: #171b20;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px;
}
.ask-box input {
  height: 36px;
  padding: 0 10px;
  background: #0e1013;
  border: 1px solid #262b33;
  color: #e9e7e2;
  font: inherit;
  border-radius: 4px;
}
.ask-box input:focus { border-color: var(--accent); outline: none; }
.ask-answer {
  background: #12151a;
  border: 1px solid #262b33;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #e9e7e2;
  margin-top: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.ask-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #262b33;
}
.ask-source-pill {
  font-size: 10px;
  padding: 2px 6px;
  background: #262b33;
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
}
.dock-hq {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  background: #15181d;
  border-top: 1px solid #262b33;
  z-index: 20;
}
/* Quick Capture Modal */
.qc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qc-modal {
  width: 90%;
  max-width: 520px;
  background: #15181d;
  border: 1px solid #262b33;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qc-textarea {
  width: 100%;
  height: 110px;
  background: #0e1013;
  border: 1px solid #262b33;
  color: #e9e7e2;
  padding: 12px;
  font: inherit;
  border-radius: 6px;
  resize: vertical;
}
.qc-textarea:focus { border-color: var(--accent); outline: none; }
.qc-badge {
  font-size: 11px;
  padding: 3px 8px;
  background: #262b33;
  border-radius: 4px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; min-height: auto; }
  .top, .dock-hq { grid-column: 1; flex-wrap: wrap; padding: 12px 16px; }
  .stage-hq { min-height: 420px; }
  .strings-hq { display: none; }
  .pin-card { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; margin: 10px 0; }
}
