.files-panel,.files-upload,.files-detail{min-width:0;color:var(--ink);gap:14px;display:grid}.files-panel header,.files-actions,.files-pages,.files-list button,.files-tabs,.files-versions li,.files-confirm,.files-search{align-items:center;gap:8px;display:flex}.files-panel>header{flex-wrap:wrap;justify-content:space-between}.files-panel h2{margin:0;font-size:20px;font-weight:500}.files-panel p,.files-detail p,.files-upload p,.files-panel small,.files-upload small,.files-detail small{color:var(--sub);overflow-wrap:anywhere;margin:0;font-size:13px}.files-tabs{flex-wrap:wrap}.files-tabs button{border:1px solid var(--line);color:var(--sub);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;display:inline-flex}.files-tabs button[aria-pressed=true]{background:var(--soft);color:var(--ink);border-color:#a9afb7}.files-search,.files-upload input:not([type=file]),.files-upload select,.files-pages input{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;max-width:100%;padding:8px 10px}.files-search input{background:0 0;border:0;outline:none;flex:1;min-width:0}.files-search:focus-within{outline:2px solid var(--accent)}.files-list,.files-versions{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.files-list li,.files-versions li{border-bottom:1px solid var(--line)}.files-list button{text-align:left;width:100%;padding:12px 0}.files-list button>span,.files-versions li>div{flex:1;gap:3px;min-width:0;display:grid}.files-list button>span,.files-versions li,.files-detail dd{overflow-wrap:anywhere}.files-actions,.files-pages,.files-confirm{flex-wrap:wrap}.files-detail dl{grid-template-columns:max-content 1fr;gap:5px 12px;margin:0;display:grid}.files-detail dt{color:var(--sub)}.files-detail dd{min-width:0;margin:0}.files-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:38dvh;font-family:var(--mono);background:var(--soft);border-radius:8px;margin:0;padding:12px;font-size:13px;overflow:auto}.files-versions li{justify-content:space-between;padding:10px 0}.files-confirm{border:1px solid var(--line);border-radius:8px;padding:12px}.files-confirm p{width:100%}.files-upload label{gap:5px;display:grid}.files-drop{cursor:pointer;text-align:center;overflow-wrap:anywhere;background:#fafbfc;border:1px dashed #8f99a6;border-radius:10px;align-content:center;justify-items:center;min-height:110px;padding:16px;display:grid;position:relative}.files-drop input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.files-drop.is-over,.files-drop:focus-within{outline:2px solid var(--accent)}.files-panel [role=alert],.files-upload [role=alert],.files-detail [role=alert]{color:#9b4a28}.files-upload>button{justify-self:end}.files-upload progress{width:min(100%,240px)}.files-dialog{width:min(680px,100vw - 24px)}.file-toast{z-index:10;color:#fff;overflow-wrap:anywhere;background:#292929;border-radius:8px;max-width:90vw;padding:10px 14px;position:fixed;bottom:74px;left:50%;transform:translate(-50%)}.file-toast button{color:#fff;margin-left:8px;text-decoration:underline}.files-image{object-fit:contain;justify-self:center;max-width:100%;max-height:48dvh;display:block}
.fresh-badge{color:#8b5d20;white-space:normal;align-items:center;gap:5px;font-size:12px;display:inline-flex}.fresh-section{color:var(--ink);gap:12px;min-width:0;display:grid}.fresh-section h2,.fresh-section h3{align-items:center;gap:8px;margin:0;font-size:16px;font-weight:500;display:flex}.fresh-section h3,.fresh-section strong{font-size:14px}.fresh-section p,.fresh-section small{color:var(--sub);overflow-wrap:anywhere;margin:0;font-size:13px}.fresh-section>button{justify-self:start}.fresh-dataset,.fresh-setting{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px}.fresh-hotel{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.fresh-hotel dl{grid-template-columns:max-content 1fr;gap:4px 8px;margin:8px 0 0;font-size:12px;display:grid}.fresh-hotel dt{color:var(--muted)}.fresh-hotel dd{overflow-wrap:anywhere;margin:0}.fresh-setting,.fresh-setting label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fresh-setting strong{margin-right:auto}.fresh-setting input{border:1px solid var(--line);border-radius:6px;min-width:0;max-width:100%;padding:7px}.employee-entry .fresh-open{text-align:left;background:#faf6ed;border-radius:6px;max-width:calc(100% - 44px);min-height:25px;margin:-2px 0 6px 36px;padding:3px 7px;line-height:1.4}.fresh-open:hover{background:#f2ebdc}.fresh-open span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fresh-open svg{flex:none}@media (max-width:767px){.employee-entry .fresh-open{max-width:calc(100% - 60px);min-height:40px;margin-left:52px}}
.memory-panel{max-width:950px;color:var(--ink,#273249);margin-inline:auto;font-size:14px}.memory-panel h2,.memory-panel h3,.memory-panel h4{margin:0 0 .65rem;line-height:1.45}.memory-panel h2{font-size:1.45rem}.memory-panel h3{font-size:1.1rem}.memory-panel h4{font-size:.94rem}.memory-panel>section,.memory-detail>section,.memory-editor,.memory-history{margin-top:1.1rem}.memory-panel p{line-height:1.65}.memory-panel [role=alert]{color:#973d29}.memory-panel [role=status]:not(.feedback){color:var(--accent,#405da0)}.memory-panel label:not(.memory-check){color:var(--sub,#4c5972);gap:5px;font-size:.81rem;font-weight:600;display:grid}.memory-panel input:not([type=checkbox],[type=radio]),.memory-panel textarea,.memory-panel select{box-sizing:border-box;border:1px solid var(--line,#cbd5e2);font:inherit;color:var(--ink,#273249);background:#fff;border-radius:8px;min-width:0;max-width:100%;min-height:40px;padding:8px 10px}.memory-panel textarea{resize:vertical;min-height:76px}.memory-panel button{cursor:pointer}.memory-panel .memory-link{color:var(--accent,#405da0);background:0 0;border:0;padding:8px 0;font-weight:600}.memory-toolbar,.memory-fields{flex-wrap:wrap;gap:12px;margin:.6rem 0 1rem;display:flex}.memory-toolbar>label:last-child{flex:9rem}.memory-list,.memory-evidence,.memory-history ol{margin:0;padding:0;list-style:none}.memory-list li,.memory-history>div,.memory-history li,.memory-evidence li{border-bottom:1px solid var(--line,#d6deea)}.memory-row,.memory-entry{overflow-wrap:anywhere;gap:6px;min-width:0;padding:14px 5px;display:grid}.memory-row{text-align:start;width:100%;color:inherit;background:0 0;border:0}.memory-row:hover,.memory-row:focus-visible{background:var(--soft,#eff4fc)}.memory-row strong,.memory-entry strong{font-size:1rem}.memory-row small,.memory-panel small,.memory-muted{color:var(--sub,#52617a)}.memory-tags,.memory-actions,.memory-caution{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.memory-tags span{background:var(--soft,#eff4fc);border-radius:6px;align-items:center;gap:4px;padding:3px 7px;font-size:12px;display:inline-flex}.memory-facts{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;font-size:.85rem;display:grid}.memory-facts dt{color:var(--sub,#52617a)}.memory-facts dd{margin:0}.memory-panel :is(dd,p,small,legend,strong){overflow-wrap:anywhere}.memory-panel .memory-body{white-space:pre-wrap;font-size:1rem}.memory-compare{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px;display:grid}.memory-compare>*{min-width:0}.memory-editor{border:1px solid var(--line,#d6deea);border-radius:12px;gap:12px;padding:14px;display:grid}.memory-editor label{margin-block:6px}.memory-check{align-items:center;gap:8px;font-size:.85rem;display:flex}.memory-check input{flex:none}.memory-conflict{border:1px solid var(--line,#d6deea);border-radius:8px;min-width:0;margin:0 0 10px;padding:8px 12px}.memory-conflict legend{color:var(--ink,#273249)}.memory-conflict legend strong,.memory-warning{color:#80511c}.memory-conflict p,.memory-entry p,.memory-history p{margin:4px 0}.memory-history,.memory-caution{border-top:1px solid var(--line,#d6deea);padding-block:12px}.memory-history li,.memory-history>div,.memory-evidence li{padding:8px 0}.memory-actions{margin-block:8px}.memory-privacy-note{color:var(--sub,#52617a);align-items:baseline;gap:6px;margin-top:8px;font-size:.8rem;display:flex}.memory-system-link{color:var(--accent,#405da0);background:0 0;border:0;padding:4px;text-decoration:underline}@media (max-width:767px){.memory-panel input:not([type=checkbox],[type=radio]),.memory-panel select,.memory-panel textarea{font-size:16px}.memory-row,.memory-panel button{min-height:44px}}.memory-source-link{color:var(--accent);text-underline-offset:3px}.memory-file-text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);border-radius:8px;max-height:52dvh;padding:12px;overflow:auto}.memory-image{max-width:100%;max-height:56dvh;margin-inline:auto;display:block}
