.detail-retro-document,.retro-document{width:100%;gap:0}.detail-header-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;padding:2px 0 22px;border-radius:0;border:0;border-bottom:1px solid var(--ds-border-subtle);box-shadow:none;background:transparent}.detail-calendar-card{display:flex;align-items:center;gap:14px;flex:1 1;min-width:0}.record-header-fields{min-width:0;flex:1 1;display:flex;flex-direction:column;gap:4px}.record-header-title-row{justify-content:space-between;gap:12px}.record-header-date-main,.record-header-title-row{display:flex;align-items:center;min-width:0;flex-wrap:wrap}.record-header-date-main{gap:10px}.record-header-title-text{color:var(--ds-ink);font-size:20px;font-weight:640;letter-spacing:-.016em;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.record-header-date-meta{color:var(--ds-ink-light);font-size:var(--ds-font-size-caption)}.entry-module{padding:15px 18px;min-height:52px;margin-bottom:12px;border-radius:var(--ds-radius-lg);border:1px solid var(--ds-border);box-shadow:var(--ds-shadow-card);background:var(--ds-surface);transition:border-color .15s ease,box-shadow .15s ease}.entry-module:focus-within{border-color:var(--ds-border-hover);box-shadow:var(--ds-shadow-hover)}.retro-document .entry-module{padding:24px 0 4px;border:0;border-radius:0;box-shadow:none;background:transparent}.retro-document .entry-module:first-of-type{padding-top:20px}.retro-document .entry-module+.entry-module{border-top:1px solid var(--ds-border-subtle)}.retro-document .entry-module:focus-within{box-shadow:none}.minimal-module-header{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.minimal-module-header>.minimal-module-title{color:var(--ds-ink);font-size:16px;font-weight:650;letter-spacing:-.015em}.minimal-module-header>.minimal-module-subtitle{color:var(--ds-ink-muted);font-size:12.5px;font-weight:400}.module-item-count{margin-left:auto;padding:0;border-radius:0;background:transparent;color:var(--ds-ink-muted);font-size:12.5px;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.inline-todo-container{display:flex;flex-direction:column;gap:0}.inline-todo-row{display:flex;align-items:flex-start;gap:8px;padding:7px 0;border-bottom:0}.todo-bullet{position:relative;width:20px;height:26px;flex:0 0 20px}.todo-bullet:after{content:"";position:absolute;top:11px;left:2px;width:5px;height:5px;border-radius:50%;background:var(--ds-data-did)}.inline-todo-input,.inline-todo-text{flex:1 1;min-width:0;padding:0;border:0;outline:none;background:transparent;color:var(--ds-ink);font-size:14.5px;line-height:1.72;word-break:break-word}.inline-todo-text{padding-top:1px}.inline-todo-input::placeholder{color:var(--ds-ink-light)}.inline-todo-del{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;margin-top:1px;border-radius:50%;background:var(--ds-surface-subtle);color:var(--ds-ink-muted);opacity:0;transition:background .15s ease,color .15s ease,opacity .15s ease}.inline-todo-row:focus-within .inline-todo-del,.inline-todo-row:hover .inline-todo-del{opacity:1}@media (hover:none){.inline-todo-del{opacity:1}}.inline-todo-del svg{width:14px;height:14px}.inline-todo-del:hover{background:var(--ds-danger-soft);color:var(--ds-danger)}.minimal-add-row{display:flex;align-items:center;gap:8px;padding:10px 0 2px;width:100%;border-radius:var(--ds-radius-md)}.add-icon-circle{display:flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--ds-surface-subtle);color:var(--ds-ink-muted);transition:background .15s ease,color .15s ease}.add-icon-circle svg{width:13px;height:13px}.inline-todo-add-label{color:var(--ds-ink-muted);font-size:12.5px;font-weight:500}.minimal-add-row:hover .add-icon-circle{background:var(--ds-brand-soft);color:var(--ds-brand)}.minimal-add-row:hover .inline-todo-add-label{color:var(--ds-brand)}.inline-thinking-container{display:flex;flex-direction:column;gap:10px}.minimal-thinking-card{position:relative;display:flex;align-items:flex-start;gap:8px;padding:15px 16px;border:0;border-radius:var(--ds-radius-md);background:var(--ds-surface-subtle)}.detail-retro-document .minimal-thinking-card{padding:0;border-radius:0;background:transparent}.detail-retro-document .minimal-thinking-card+.minimal-thinking-card{margin-top:20px;padding-top:20px;border-top:1px solid var(--ds-border-subtle)}.inline-thinking-text,.inline-thinking-textarea{flex:1 1;min-width:0;padding:0;border:0;outline:none;resize:none;background:transparent;color:var(--ds-ink);font-size:14.5px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.inline-thinking-textarea{overflow:hidden;min-height:96px}.inline-thinking-text .thinking-prose-h{margin:20px 0 8px;font-size:16px;font-weight:650;line-height:1.4;letter-spacing:-.015em;color:var(--ds-ink);white-space:normal}.inline-thinking-text .thinking-prose-h:first-child{margin-top:0}.inline-thinking-text .thinking-prose-p{margin:12px 0 0}.inline-thinking-text .thinking-prose-p:first-child{margin-top:0}.inline-thinking-textarea::placeholder{color:var(--ds-ink-light)}.minimal-thinking-card .inline-todo-del{background:transparent;color:var(--ds-ink-light)}.minimal-thinking-card:focus-within .inline-todo-del,.minimal-thinking-card:hover .inline-todo-del{opacity:1}.minimal-thinking-card .inline-todo-del:hover{background:var(--ds-danger-soft);color:var(--ds-danger)}.empty-entry{color:var(--ds-ink-muted);padding:8px 0 4px}.empty-entry,.inline-toast{font-size:var(--ds-font-size-caption)}.inline-toast{margin:6px 0;padding:8px 12px;border-radius:var(--ds-radius-md);background:var(--ds-brand-soft);color:var(--ds-brand-hover);font-weight:500;text-align:center}.inline-toast.is-error{background:var(--ds-danger-soft);color:var(--ds-danger)}.inline-toast.is-neutral,.retro-draft-note{background:var(--ds-surface-subtle);color:var(--ds-ink-muted)}.retro-draft-note{margin:0 0 12px;padding:8px 12px;border-radius:var(--ds-radius-md);font-size:var(--ds-font-size-caption);display:flex;align-items:center;justify-content:space-between;gap:12px}.retro-draft-note button{border:0;padding:2px 6px;margin:-2px -6px;border-radius:var(--ds-radius-sm);background:transparent;color:var(--ds-ink-muted);font-size:var(--ds-font-size-caption);font-weight:500;cursor:pointer;white-space:nowrap;transition:color .15s ease}.retro-draft-note button:hover{color:var(--ds-ink)}@media (max-width:760px){.retro-draft-note button{min-height:44px;padding:0 10px;margin:-10px -10px -10px 0}}.record-action-dock{margin:12px 0 0;padding:14px 0 calc(20px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--ds-border-subtle)}.record-dock-left{display:inline-flex;align-items:center;gap:12px;min-width:0}.record-dock-shortcut{display:inline-flex;align-items:center;gap:5px;color:var(--ds-ink-muted);font-size:12.5px}.record-dock-shortcut kbd{padding:2px 6px;border-radius:var(--ds-radius-sm);border:1px solid rgba(0,0,0,.08);background:var(--ds-surface-subtle);color:var(--ds-ink-muted);font-family:inherit;font-size:11px;font-weight:500;line-height:1.2}.record-dock-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.record-clear-btn{display:inline-flex;align-items:center;gap:6px;height:36px;min-height:36px;padding:0 12px;border-radius:var(--ds-radius-md);font-size:12.5px;font-weight:500;color:var(--ds-ink-muted);background:transparent;border:1px solid transparent;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.record-clear-btn svg{width:14px;height:14px;color:var(--ds-ink-muted);transition:color .15s ease}.record-clear-btn:hover{color:var(--ds-danger);background:var(--ds-danger-soft)}.record-clear-btn:hover svg{color:var(--ds-danger)}.record-clear-btn:active{transform:scale(.96)}.record-cancel-button{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;padding:0 16px;min-width:68px;border-radius:var(--ds-radius-md);font-size:12.5px;font-weight:500;background:var(--ds-surface);border:1px solid var(--ds-border);color:var(--ds-ink);box-shadow:0 1px 1px rgba(0,0,0,.02);transition:all .15s ease}.record-cancel-button:hover{background:var(--ds-surface-subtle);border-color:var(--ds-border-hover)}.record-cancel-button:active{transform:scale(.98)}.save-record-button{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;padding:0 18px;min-width:88px;max-width:130px;border-radius:var(--ds-radius-md);font-weight:500;font-size:12.5px;border:1px solid transparent;background:var(--ds-brand);color:#ffffff;box-shadow:0 1px 2px rgba(0,0,0,.06);transition:all .15s ease;cursor:pointer}.save-record-button:hover:not(:disabled):not(.disabled){background:var(--ds-brand-hover);box-shadow:0 1px 3px rgba(0,0,0,.1)}.save-record-button:active:not(:disabled):not(.disabled){transform:scale(.98)}.save-record-button.disabled,.save-record-button:disabled{background:var(--ds-surface-subtle)!important;color:var(--ds-ink-light)!important;border:1px solid var(--ds-border-subtle)!important;box-shadow:none!important;cursor:not-allowed;opacity:1!important}.header-actions-group,.record-header-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ai-extract-pill-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--ds-radius-pill);border:1px solid var(--ds-border);background:var(--ds-brand-soft);color:var(--ds-brand-hover);font-size:var(--ds-font-size-caption);font-weight:600;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .12s ease}.ai-extract-pill-btn svg{width:14px;height:14px;color:var(--ds-brand)}.ai-extract-pill-btn:hover{box-shadow:var(--ds-shadow-hover);border-color:var(--ds-brand)}.ai-extract-pill-btn:active{transform:scale(.98)}.sample-tool-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--ds-radius-pill);border:1px solid var(--ds-border);background:var(--ds-surface);color:var(--ds-ink-muted);font-size:var(--ds-font-size-caption);font-weight:500;white-space:nowrap;flex-shrink:0;line-height:1;transition:background .15s ease,border-color .15s ease,color .15s ease}.sample-tool-btn svg{width:13px;height:13px;flex-shrink:0}.sample-tool-btn:hover{background:var(--ds-surface-subtle);border-color:var(--ds-border-hover);color:var(--ds-ink)}.sample-tool-btn.is-subtle{border-color:transparent;background:var(--ds-surface-subtle)}.sample-tool-btn.is-active{border-color:var(--ds-brand);background:var(--ds-brand-soft);color:var(--ds-brand-hover);font-weight:600}.sample-tool-btn.is-active svg{color:var(--ds-brand)}.detail-header-bar.is-editable{flex-direction:column;align-items:stretch}.assist-paste-box{margin-top:10px;padding:14px 16px;border-radius:var(--ds-radius-md);background:var(--ds-surface-subtle);border:1px solid var(--ds-border);display:flex;flex-direction:column;gap:10px}.assist-paste-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.assist-paste-head strong{display:block;color:var(--ds-ink);font-size:var(--ds-font-size-caption);font-weight:650}.assist-paste-head p{margin-top:2px;color:var(--ds-ink-muted);font-size:12.5px}.assist-paste-textarea{width:100%;padding:10px 12px;border-radius:var(--ds-radius-sm);border:1px solid var(--ds-border);background:var(--ds-surface);color:var(--ds-ink);font-size:var(--ds-font-size-caption);line-height:1.55;resize:vertical}.assist-paste-textarea:focus{border-color:var(--ds-brand);box-shadow:var(--ds-shadow-hover)}.assist-paste-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.status-pill{display:inline-flex;align-items:center;width:fit-content;padding:3px 10px;border-radius:var(--ds-radius-pill);color:var(--ds-brand-hover);background:var(--ds-brand-soft);font-size:12.5px;font-weight:600;white-space:nowrap}.status-pill.cancelled,.status-pill.pending,.status-pill.retrying,.status-pill.running,.status-pill.stale{color:var(--ds-ink-muted);background:var(--ds-surface-subtle)}.status-pill.failed{color:var(--ds-danger);background:var(--ds-danger-soft)}.detail-stack{display:flex;flex-direction:column;gap:16px}@media (max-width:760px){.detail-header-bar{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.record-header-title-row{flex-direction:column;align-items:flex-start}.inline-todo-input,.inline-todo-text{font-size:16px!important;line-height:1.55!important;min-height:32px!important}.inline-thinking-text,.inline-thinking-textarea{font-size:16px!important;line-height:1.6!important;min-height:100px!important}.inline-todo-del{width:44px!important;height:44px!important;flex:0 0 44px!important;opacity:1!important}.minimal-add-row{padding:12px 0 6px!important;min-height:44px!important}.minimal-add-row:active{transform:scale(.98)}.record-action-dock{position:sticky!important;bottom:0!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;margin:16px -16px 0!important;padding:10px 16px calc(12px + env(safe-area-inset-bottom, 0px))!important;border-top:1px solid var(--ds-border)!important;box-shadow:0 -2px 10px rgba(0,0,0,.03)!important;z-index:40!important;box-sizing:border-box!important}.record-dock-shortcut{display:none!important}.record-dock-actions{width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-left:auto!important}.record-cancel-button{flex:1 1!important;max-width:120px!important;min-width:68px!important;padding:0 16px!important}.record-cancel-button,.record-dock-actions .button,.save-record-button{height:44px!important;min-height:44px!important;font-size:14.5px!important;justify-content:center!important}.record-dock-actions .button,.save-record-button{flex:2 1!important;max-width:200px!important;min-width:88px!important;padding:0 18px!important}.detail-header-edit-btn{height:36px!important;padding:0 14px!important;border-radius:var(--ds-radius-pill)!important}.record-clear-btn{height:42px!important;min-height:42px!important;padding:0 12px!important;font-size:12.5px!important;flex-shrink:0!important}}.detail-header-actions{display:flex;align-items:center;gap:8px}.detail-header-edit-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12.5px;font-weight:600}.detail-header-edit-btn svg{width:14px;height:14px}