/* Canlı ofis ortak stilleri (A ve B): kişi paneli, talep kutusu, Danışma paneli, veri etiketi. core/live.js kullanır. */
.person-panel { position: absolute; right: 14px; top: 122px; width: min(380px, calc(100% - 28px)); max-height: calc(100% - 250px); overflow: auto; z-index: 7; padding: 12px 14px 14px; border-radius: 14px; color: #0f172a; font: 13px/1.5 "Segoe UI", system-ui, sans-serif; background: rgba(255, 255, 255, .96); border: 1px solid rgba(100, 116, 139, .35); box-shadow: 0 12px 40px rgba(15, 23, 42, .25); backdrop-filter: blur(8px); }
.person-panel[hidden] { display: none; }
.person-panel header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.person-panel header div { flex: 1; min-width: 0; }
.person-panel header b { display: block; font-size: 15px; }
.person-panel header small { color: #64748b; }
.person-panel header small.on { color: #15803d; font-weight: 600; }
.person-panel .x { border: 0; background: none; font-size: 22px; line-height: 1; color: #64748b; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.person-panel .x:hover { background: #f1f5f9; color: #0f172a; }
.person-panel .abbr { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 12px; }
.person-panel .abbr.sm { min-width: 30px; height: 20px; font-size: 10.5px; border-radius: 6px; }
.person-panel .lbl { display: block; margin: 10px 0 4px; color: #64748b; font-size: 11.5px; letter-spacing: .02em; }
.person-panel h3 { margin: 0; font-size: 14.5px; line-height: 1.35; }
.person-panel .ty { color: #b45309; font-weight: 600; }
.person-panel .meta { display: flex; gap: 8px; margin: 6px 0 0; color: #64748b; font-size: 12px; }
.person-panel .st { padding: 0 8px; border-radius: 999px; background: #f1f5f9; color: #334155; font-weight: 600; }
.person-panel .st-running { background: #dbeafe; color: #1d4ed8; }
.person-panel .st-done { background: #dcfce7; color: #166534; }
.person-panel .st-blocked { background: #fee2e2; color: #b91c1c; }
.person-panel .goal { margin: 10px 0 0; color: #334155; }
.person-panel .goal b { color: #0f172a; }
.person-panel details { margin-top: 10px; }
.person-panel summary { cursor: pointer; font-weight: 600; color: #1d4ed8; }
.person-panel pre { margin: 8px 0 0; padding: 10px; max-height: 240px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 12px/1.5 "Segoe UI", system-ui, sans-serif; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
.person-panel pre .h { display: block; margin-top: 6px; }
.person-panel .runs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.person-panel .runs li { display: flex; align-items: center; gap: 8px; }
.person-panel .runs em { margin-left: auto; font-style: normal; color: #64748b; }
.person-panel .open { display: inline-block; margin-top: 12px; font-weight: 600; color: #1d4ed8; text-decoration: none; }
.person-panel .none { color: #64748b; }
.person-panel textarea, .person-panel select, .person-panel .req-code { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 8px; border: 1px solid #cbd5e1; font: inherit; color: #0f172a; background: #fff; }
.person-panel textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.person-panel textarea:focus, .person-panel select:focus, .person-panel .req-code:focus { outline: 2px solid #f0b000; outline-offset: 1px; }
.person-panel .req-send { margin-top: 12px; width: 100%; padding: 9px 14px; border: 0; border-radius: 999px; font: 700 13px "Segoe UI", system-ui, sans-serif; color: #1e2a3d; cursor: pointer; background: linear-gradient(180deg, #ffd24a, #f0b000); box-shadow: 0 4px 12px rgba(240, 176, 0, .35); }
.person-panel .req-send:disabled { opacity: .55; cursor: default; box-shadow: none; }
.person-panel .reqstate { margin-top: 8px; }
.person-panel .reqrun, .person-panel .reqok, .person-panel .reqerr { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; }
.person-panel .reqrun { background: #eff6ff; color: #1d4ed8; }
.person-panel .reqok { background: #dcfce7; color: #166534; font-weight: 600; }
.person-panel .reqerr { background: #fee2e2; color: #b91c1c; }
.person-panel .spin { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border: 2px solid #93c5fd; border-top-color: #1d4ed8; border-radius: 50%; animation: reqspin 0.9s linear infinite; vertical-align: -1px; }
@keyframes reqspin { to { transform: rotate(360deg); } }
.person-panel .proj { margin-top: 8px; padding: 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.person-panel .proj h3 { margin: 0 0 4px; font-size: 15px; }
.person-panel .proj .goal { margin: 0 0 10px; color: #475569; font-size: 12.5px; }
.person-panel .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.person-panel .go { display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; text-decoration: none; color: #1e2a3d; background: linear-gradient(180deg, #ffd24a, #f0b000); box-shadow: 0 4px 12px rgba(240, 176, 0, .4); }
.person-panel .go:hover { filter: brightness(1.05); }
.person-panel .go.alt { background: #fff; border: 1px solid #cbd5e1; box-shadow: none; color: #1d4ed8; }
@media (max-width: 900px) { .person-panel { top: auto; bottom: 128px; max-height: 42%; } }
.data-pill { position: absolute; right: 14px; top: 78px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #334155; background: rgba(255, 255, 255, .88); border: 1px solid rgba(100, 116, 139, .35); backdrop-filter: blur(6px); }
.data-pill i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.data-pill.live { color: #166534; border-color: rgba(22, 163, 74, .5); }
.data-pill.live i { background: #16a34a; animation: dp 1.6s ease-out infinite; }
.data-pill.hist i { background: #2563eb; }
.data-pill.demo i { background: #f59e0b; }
/* veri etiketi: sayaç panellerinin hemen altında, sağ kenarı panellerin bitimiyle hizalı (office-extras.js'in alt köşe kuralını ezer) */
body .data-pill { top: 78px; bottom: auto; }
@media (max-width: 900px) { body .data-pill { top: auto; bottom: 128px; } }
@keyframes dp { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
.hud-live.on { color: #4ade80 !important; border-color: rgba(74, 222, 128, .6) !important; }
.hud-live.on i { background: #22c55e !important; }
