/* Centrl PDA 1.0.29: team notes + readable badges and crisp glyphs. */
.centrl-pda-shell .centrl-pda-apps{grid-template-columns:repeat(5,minmax(0,1fr))!important;column-gap:3px!important;row-gap:8px!important}
.centrl-pda-shell .pda-app{min-width:0!important;overflow:visible!important;gap:6px!important;padding:2px 0 7px!important}
.centrl-pda-shell .pda-app-visual{position:relative;display:grid;place-items:center;isolation:isolate;width:min(100%,67px);height:67px;overflow:visible;flex-shrink:0;}
.centrl-pda-shell .pda-app-visual .pda-app-icon{max-width:100%!important;width:61px!important;height:61px!important;overflow:hidden!important;}
.centrl-pda-shell .pda-app-badge{
  position:absolute!important;top:-6px!important;right:-6px!important;z-index:15!important;display:grid!important;place-items:center;
  min-width:22px;height:22px;padding:0 5px;box-sizing:border-box;border:2px solid #fff;border-radius:999px;
  background:#ef334d;color:#fff;font:800 10px/1 system-ui,sans-serif;letter-spacing:0!important;
  box-shadow:0 2px 8px rgba(0,0,0,.45),0 0 8px rgba(255,61,91,.33);pointer-events:none;
}
/* Glyphs are always sharp solid vectors, while neon remains on their frames. */
.centrl-pda-shell .pda-app-icon>svg:not(.pda-tactical-rail){
  width:28px!important;height:28px!important;filter:none!important;text-shadow:none!important;
  shape-rendering:geometricPrecision!important;image-rendering:auto!important;transform:none!important;
  stroke-linecap:round;stroke-linejoin:round;
}
.centrl-pda-shell[data-pda-theme="tactical-neon"] .pda-app-icon>svg:not(.pda-tactical-rail){filter:none!important;opacity:1!important}
.centrl-pda-shell .pda-app-icon.notes{background:linear-gradient(145deg,#283856,#121b36)!important;border-color:#83bbff!important}
.centrl-pda-shell[data-pda-theme="tactical-neon"] .pda-app-icon.notes{--tube:#ffca65;--tube-mid:rgba(255,159,29,.4);background:#20152d!important;border-color:#fbbd69!important;box-shadow:0 0 14px rgba(255,169,57,.24),inset 0 0 12px rgba(255,171,60,.15)!important;color:#ffcf80!important}
.centrl-pda-shell[data-pda-theme="tactical-green"] .pda-app-icon.notes{background:#233122!important;border-color:#b6d38d!important}
.centrl-pda-shell[data-pda-theme="tactical-black"] .pda-app-icon.notes{background:#18202c!important;border-color:#acc4d9!important}
.centrl-pda-shell[data-pda-theme="light"] .pda-app-icon.notes{background:linear-gradient(140deg,#f3ead7,#ded1b6)!important;border-color:#aa9471!important;color:#62533c!important}
.centrl-pda-shell[data-pda-theme="colourful"] .pda-app-icon.notes{background:linear-gradient(145deg,#ffb452,#ed703a)!important;border-color:#ffe0a5!important}
.centrl-pda-shell[data-pda-theme="minimalistic"] .pda-app-visual{height:48px!important;width:min(100%,48px)!important}
.centrl-pda-shell[data-pda-theme="minimalistic"] .pda-app-visual .pda-app-icon{height:44px!important;width:44px!important}
.centrl-pda-shell[data-pda-theme="minimalistic"] .pda-app-badge{min-width:19px!important;height:19px!important;font-size:9px!important}
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-app-visual .pda-app-icon{height:61px!important;width:61px!important;}
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-app-visual{height:67px!important;}
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-app-badge{top:-7px!important;right:-4px!important;}
.centrl-pda-shell .pda-app-icon.notes>svg:not(.pda-tactical-rail){fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;}
/* Keep technical frame crisp; old icon badge selectors no longer apply. */
.centrl-pda-shell .pda-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.centrl-pda-shell .pda-note-toolbar{display:flex;flex-direction:column;align-items:start;gap:10px}
.centrl-pda-shell .pda-note-toolbar p{margin:0;color:#b6c9e4;font-size:12px;line-height:1.55}
.centrl-pda-shell .pda-note-tile{min-width:0;text-align:left;border:1px solid rgba(111,173,246,.38);background:linear-gradient(155deg,rgba(19,42,82,.88),rgba(6,18,45,.97));border-radius:14px;padding:9px;display:flex;flex-direction:column;gap:8px;color:#f1f7ff;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.09),0 8px 16px rgba(0,0,0,.17)}
.centrl-pda-shell .pda-note-tile:focus-visible,.centrl-pda-shell .pda-note-media-actions button:focus-visible{outline:2px solid #3cc5ff;outline-offset:3px}
.centrl-pda-shell .pda-note-thumbnail{display:grid;place-items:center;overflow:hidden;height:88px;border-radius:10px;background:radial-gradient(circle at 35% 30%,rgba(38,128,234,.32),transparent 56%),#0a1b37;color:#80c9ff}
.centrl-pda-shell .pda-note-thumbnail img{width:100%;height:100%;object-fit:cover}
.centrl-pda-shell .pda-note-thumbnail svg{width:32px;height:32px;fill:none;stroke:currentColor}
.centrl-pda-shell .pda-note-tile-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.centrl-pda-shell .pda-note-tile-copy strong{font-size:13px;overflow-wrap:anywhere;line-height:1.3}
.centrl-pda-shell .pda-note-tile-copy small{font-size:11px;color:#bbcee6;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.centrl-pda-shell .pda-note-tile-copy em{font-size:9px;color:#76bef6;font-style:normal;line-height:1.4}
.centrl-pda-shell .pda-note-empty{grid-column:1/-1;color:#a6bdd9;font-size:12px;padding:28px 14px;border:1px dashed rgba(109,176,255,.28);border-radius:12px;text-align:center}
.centrl-pda-shell .pda-note-editor,.centrl-pda-shell .pda-note-detail{display:flex;flex-direction:column;gap:13px;margin-top:8px;min-width:0}
.centrl-pda-shell .pda-note-editor label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#d8eaff}
.centrl-pda-shell .pda-note-editor input,.centrl-pda-shell .pda-note-editor textarea{
 box-sizing:border-box;width:100%;max-width:100%;border:1px solid rgba(115,178,247,.5);border-radius:9px;background:#081a37;color:#fff;min-height:43px;padding:10px 12px;outline:0;font:500 14px/1.5 system-ui,sans-serif;
}
.centrl-pda-shell .pda-note-editor textarea{min-height:136px;resize:vertical}
.centrl-pda-shell .pda-note-editor input:focus,.centrl-pda-shell .pda-note-editor textarea:focus{border-color:#49cfff;box-shadow:0 0 0 2px rgba(44,175,255,.18)}
.centrl-pda-shell .pda-note-media-actions{display:flex;flex-wrap:wrap;gap:7px}
.centrl-pda-shell .pda-note-media-actions button{display:flex;align-items:center;gap:6px;min-height:38px;padding:8px;border:1px solid rgba(102,173,255,.38);border-radius:8px;background:rgba(15,42,77,.8);color:#dbedff;font-size:11px;font-weight:730;cursor:pointer}
.centrl-pda-shell .pda-note-media-actions svg{width:17px;height:17px;fill:currentColor}
.centrl-pda-shell .pda-note-hint{font-size:10px;color:#a8bdd5;line-height:1.4}
.centrl-pda-shell .pda-note-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.centrl-pda-shell .pda-note-media{width:100%;min-width:0;display:flex;flex-direction:column;gap:5px}
.centrl-pda-shell .pda-note-media video,.centrl-pda-shell .pda-note-media img{width:100%;height:auto;max-height:220px;object-fit:cover;border-radius:9px;display:block;background:#071326}
.centrl-pda-shell .pda-note-media small{font-size:10px;color:#b0c7de;overflow-wrap:anywhere}
.centrl-pda-shell .pda-note-media-attachment{position:relative;min-width:0}
.centrl-pda-shell .pda-note-remove{position:absolute;right:5px;top:5px;border:1px solid rgba(255,255,255,.6);background:#a91938;color:white;font-size:16px;width:26px;height:26px;border-radius:50%;cursor:pointer}
.centrl-pda-shell .pda-note-pending{min-height:62px;display:flex;align-items:center;gap:7px;overflow-wrap:anywhere;padding:9px;border:1px solid rgba(89,176,255,.4);border-radius:9px;font-size:11px;background:#0b2549;color:#d7edff}
.centrl-pda-shell .pda-note-pending svg{width:20px;flex-shrink:0;fill:currentColor}
.centrl-pda-shell .pda-note-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.centrl-pda-shell .pda-note-buttons .centrl-btn{flex:1 1 auto;min-width:100px;min-height:40px}
.centrl-pda-shell .pda-note-detail h3{margin:0;font-size:19px;line-height:1.3;color:#fff}
.centrl-pda-shell .pda-note-detail>small,.centrl-pda-shell .pda-note-shared{color:#99c5ef;font-size:11px}
.centrl-pda-shell .pda-note-detail p{white-space:pre-wrap;overflow-wrap:anywhere;color:#e7f0fc;line-height:1.55;font-size:13px;margin:0}
.centrl-pda-shell .pda-note-back{align-self:start;border:0;background:transparent;color:#82c9ff;padding:4px 0;cursor:pointer;font-size:12px}
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-note-tile,
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-note-editor input,
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-note-editor textarea,
.centrl-pda-shell[data-pda-theme^="tactical-"] .pda-note-media-actions button{border-radius:3px!important}
.centrl-pda-shell[data-pda-theme="tactical-neon"] .pda-note-tile{border-color:#169cff;box-shadow:0 0 10px rgba(26,130,255,.18),inset 0 1px rgba(65,179,255,.20)}
.centrl-pda-shell[data-pda-theme="tactical-green"] .pda-note-tile{background:#141f18;border-color:#789760}
.centrl-pda-shell[data-pda-theme="tactical-black"] .pda-note-tile{background:#0e141b;border-color:#50657e}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-toolbar p,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-hint{color:#607184}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-tile{background:#fffdf8;color:#263b53;border-color:#d1c5b3;box-shadow:0 4px 14px rgba(99,84,59,.07)}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-thumbnail{background:#f0e6d5;color:#466683}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-tile-copy small,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-tile-copy em,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-detail p,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-detail>small,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-shared,
.centrl-pda-shell[data-pda-theme="light"] .pda-note-editor label{color:#43556c!important}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-detail h3{color:#1b354f}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-editor input,.centrl-pda-shell[data-pda-theme="light"] .pda-note-editor textarea{background:#fffdf8;color:#243f5e;border-color:#cdbfae}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-media-actions button{background:#fff9f0;color:#284563;border-color:#d0c2b5}
.centrl-pda-shell[data-pda-theme="light"] .pda-note-empty{color:#576c83;border-color:#d1c4b0}
@media(max-width:370px){
 .centrl-pda-shell .pda-app-visual{width:min(100%,55px);height:58px}
 .centrl-pda-shell .pda-app-visual .pda-app-icon{width:52px!important;height:52px!important}
 .centrl-pda-shell[data-pda-theme^="tactical-"] .pda-app-visual{height:58px!important}
 .centrl-pda-shell[data-pda-theme^="tactical-"] .pda-app-visual .pda-app-icon{width:52px!important;height:52px!important}
 .centrl-pda-shell .pda-app-badge{top:-5px!important;right:-5px!important}
 .centrl-pda-shell .pda-app span:last-child{font-size:9px!important}
}
/* Explicit outline for the notes glyph, overriding legacy solid SVG fill. */
.centrl-pda-shell .pda-app-icon.notes>svg:not(.pda-tactical-rail) path{
  fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
