:root{font-family:system-ui,Arial,sans-serif}.live-page{max-width:1500px;padding-top:32px;padding-bottom:40px}.live-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.live-heading h1{margin:5px 0}.live-heading p{margin:0;color:#64748b}.live-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#475569}.live-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px}.live-toolbar label,.live-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.live-toolbar input,.live-toolbar select,.live-fields input,.live-fields textarea,.live-fields select{padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;background:white;min-width:145px;font:inherit}.live-toolbar .live-check,.live-fields .live-check{flex-direction:row;align-items:center}.live-check input{min-width:0}.live-hint{font-size:13px}.live-columns{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:16px}.live-column{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:14px;padding:13px;min-height:360px}.live-column header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.live-column h2{font-size:16px;margin:0}.live-column header span{background:#e2e8f0;border-radius:15px;padding:2px 9px;font-size:12px}.live-list{display:flex;flex-direction:column;gap:9px;min-height:85px}.live-ticket{background:white;border:1px solid #e2e8f0;border-radius:10px;padding:14px;box-shadow:0 2px 4px #0f172a0a}.live-ticket[draggable=true]{cursor:grab}.live-ticket-meta{font-size:11px;color:#64748b}.live-ticket-title{display:block;border:0;padding:6px 0;background:transparent;text-align:left;color:#0f172a;font:inherit;font-weight:700;cursor:pointer}.live-ticket-title:hover{text-decoration:underline}.live-ticket-tags{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:#475569;margin-top:4px}.live-ticket-tags span{border-radius:5px;padding:3px 6px;background:#e9eff8}.live-ticket-bottom{display:flex;justify-content:space-between;gap:8px;color:#64748b;margin-top:13px}.live-move{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.live-move button{font-size:10px;padding:4px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer}.live-quickadd{display:flex;gap:7px;margin-top:12px}.live-quickadd input{width:100%;min-width:0;padding:9px;border:1px solid #cbd5e1;border-radius:8px}.live-quickadd button,.live-editor-actions button{padding:9px 13px;border:0;border-radius:8px;background:#2563eb;color:white;cursor:pointer}.live-overlay{position:fixed;inset:0;background:#0f172a88;z-index:80}.live-editor{position:fixed;right:0;top:0;bottom:0;z-index:81;width:min(440px,100%);overflow:auto;background:white;box-shadow:-12px 0 30px #0f172a30;padding:25px}.live-editor header{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.live-editor header small{color:#64748b}.live-editor h2{margin:5px 0}.live-editor header button{background:none;border:0;font-size:26px;cursor:pointer}.live-fields{display:flex;flex-direction:column;gap:15px}.live-editor-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:22px}.live-message{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border:1px solid #93c5fd;background:#eff6ff;border-radius:8px;margin-bottom:12px}.live-message button{background:none;border:0;cursor:pointer}@media(max-width:900px){.live-columns{grid-template-columns:1fr}.live-heading{align-items:start;flex-direction:column}}
/* Fast time entry is visible from every active Kanban card. */
.live-log-button{margin-top:10px;width:100%;background:#eef6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:650;cursor:pointer}
.live-log-button:hover,.live-log-button:focus-visible{background:#dbeafe;outline-color:#2563eb}
.live-editor-actions .live-cancel{background:#e2e8f0;color:#334155}
.live-fields textarea{min-width:0;max-width:100%;resize:vertical}
.live-editor .board-errors{padding:10px 14px;border-radius:8px;margin:12px 0;background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
.live-editor .board-errors ul{margin:0;padding-left:20px}


.live-identity-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;background:#ecfdf5;border:1px solid #86efac;border-radius:12px;padding:12px 16px;margin-bottom:20px}
.live-identity-bar>div{display:flex;flex-direction:column;gap:3px}
.live-identity-bar small{font-size:12px;color:#475569}
.live-identity-bar a{font-weight:650;color:#166534}

/* Card ordering: drag target and keyboard-operable fallback buttons. */
.live-ticket{transition:border-color .12s ease,box-shadow .12s ease}
.live-ticket:has(.live-ticket-title:focus-visible){border-color:#2563eb;box-shadow:0 0 0 2px #bfdbfe}
.live-ticket[draggable="true"]:hover{border-color:#93c5fd}
.live-move button:disabled{opacity:.35;cursor:not-allowed}
.live-move button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}


/* Task detail drawer: in-place history editing stays beneath the task form. */
.live-history{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}
.live-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.live-history-heading h3{margin:0;font-size:17px}
.live-text-button{border:0;background:none;color:#1d4ed8;text-decoration:underline;cursor:pointer}
.live-history-entry{border:1px solid #e2e8f0;border-radius:9px;padding:12px;margin-top:10px;background:#f8fafc}
.live-history-entry-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.live-history-entry-title>div:first-child{display:flex;flex-direction:column;gap:3px}
.live-history-entry-title small{color:#475569}
.live-history-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 2px;font-size:13px}
.live-history-controls{display:flex;flex-wrap:wrap;gap:8px}
.live-history-controls button{padding:5px 9px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#1e293b;cursor:pointer;font-size:12px}
.live-history-controls button:hover,.live-history-controls button:focus-visible{border-color:#2563eb}
.live-history-controls button:disabled{opacity:.5;cursor:not-allowed}
.live-history-form{margin-top:12px}
.live-history-confirm{color:#9f1239;font-weight:600;font-size:13px}
.live-history-notice{padding:9px;background:#ecfdf5;border-radius:7px;color:#065f46}


/* Estimates mirror the existing V2 model; logged time is not completion percentage. */
.live-estimates{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #e2e8f0}
.live-estimates>div{display:flex;flex-direction:column;gap:3px;font-size:12px}
.live-estimates span{color:#64748b}
.live-estimates strong{color:#1e293b}
.live-progress{height:6px;background:#e2e8f0;border-radius:999px;margin-top:9px;overflow:hidden}
.live-progress>div{height:100%;background:#2563eb;border-radius:999px}
.live-estimate-note{display:block;font-size:10px;color:#64748b;margin-top:5px}
.live-field-error{background:#fff1f2;border:1px solid #fecdd3;border-radius:7px;color:#9f1239;padding:10px;font-size:13px}
