@import url("xynoxia-unified-theme.css?v=20261025");
/* XYNOXIA Journal tool */
#journalToolCard{background:linear-gradient(145deg,#fffdf8,#f7f0e8);border-color:#e7d8ca}
#journalToolCard .tool-orb{background:#f8e9ec;color:#800018}
#journalToolCard .tool-start{cursor:pointer}
.xj-overlay[hidden]{display:none!important}
.xj-overlay{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;padding:clamp(8px,2vw,24px);background:rgba(28,25,22,.55);backdrop-filter:blur(7px);color:#292824;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.xj-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:default}
.xj-panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1180px,100%);max-height:min(94dvh,1000px);overflow:hidden;border:1px solid #e4d9cd;border-radius:18px;background:#fbf8f2;box-shadow:0 30px 100px #20171135}
.xj-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 19px;border-bottom:1px solid #e9dfd3;background:#fffdf8}
.xj-eyebrow{display:block;color:#b45b34;font-size:9px;font-weight:850;letter-spacing:.16em}
.xj-header h2{margin:7px 0 5px;font:400 clamp(30px,4vw,43px)/1 Georgia,serif;letter-spacing:-.04em}
.xj-header p{margin:0;color:#777064;font-size:12px;line-height:1.6}
.xj-close{flex:0 0 auto;width:38px;height:38px;border:1px solid #e2d8cc;border-radius:50%;background:#fff;color:#51483f;font-size:25px;cursor:pointer}
.xj-privacy{display:flex;gap:10px;align-items:flex-start;padding:12px 28px;background:#f3ece2;border-bottom:1px solid #e7dbcd;color:#65594e}
.xj-privacy>span{font-size:16px}.xj-privacy p{margin:0;font-size:10px;line-height:1.6}
.xj-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);min-height:0;overflow:auto}
.xj-editor{min-width:0;padding:23px 28px 28px;border-right:1px solid #e9dfd3}
.xj-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.xj-autosave{font-size:10px;color:#7d786f}
.xj-editor label{display:block;margin:13px 0 7px;color:#50483f;font-size:11px;font-weight:750}
.xj-editor input,.xj-editor select,.xj-editor textarea,.xj-side>input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #e0d6ca;border-radius:8px;background:#fffefa;color:#302c27;font:12px/1.6 Inter,system-ui,sans-serif;outline:none}
.xj-editor textarea{min-height:190px;resize:vertical;font:14px/1.8 Georgia,"Times New Roman",serif}
.xj-editor input:focus,.xj-editor select:focus,.xj-editor textarea:focus,.xj-side>input:focus{border-color:#800018;box-shadow:0 0 0 3px #8000181c}
.xj-count{margin-top:5px;text-align:right;color:#91877b;font-size:10px}
.xj-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.xj-field-label{flex-basis:100%;color:#938577;font-size:9px;font-weight:800;letter-spacing:.12em}
.xj-prompt{padding:7px 9px;border:1px solid #e2d6c8;border-radius:999px;background:#fffdf8;color:#745640;font-size:10px;cursor:pointer}
.xj-prompt:hover{border-color:#800018;background:#f8e9ec}
.xj-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:19px}
.xj-primary,.xj-secondary,.xj-text-button,.xj-icon-delete{min-height:36px;padding:9px 12px;border:1px solid #ded3c6;border-radius:7px;background:#fffefa;color:#4e453b;font:700 10px Inter,system-ui,sans-serif;cursor:pointer}
.xj-primary{border-color:#a94e2c;background:#a94e2c;color:white}
.xj-primary:hover{background:#8f3d22}.xj-secondary:hover,.xj-text-button:hover,.xj-icon-delete:hover{border-color:#800018}
.xj-text-button{border-color:transparent;background:transparent;color:#8a563d}
.xj-status{margin:12px 0 0;color:#8b8175;font-size:10px;line-height:1.6}
.xj-side{min-width:0;padding:23px 20px 26px;background:#f8f3eb}
.xj-side-head{margin-bottom:13px}.xj-side h3{margin:5px 0 12px;font:400 23px/1.1 Georgia,serif;letter-spacing:-.025em}
.xj-side>input{margin-bottom:12px;background:#fff}
.xj-entry-list{display:grid;gap:9px;max-height:240px;overflow:auto}
.xj-entry-card{padding:12px;border:1px solid #e8ded2;border-radius:9px;background:#fffdf8}
.xj-entry-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#94887b;font-size:9px}
.xj-mood-tag{padding:4px 6px;border-radius:999px;background:#f2e6d9;color:#8c5738;font-size:8px;text-transform:uppercase;letter-spacing:.06em}
.xj-entry-card h4{margin:9px 0 5px;font:600 14px Georgia,serif;overflow-wrap:anywhere}
.xj-entry-card p{margin:0;color:#746c61;font-size:10px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-line}
.xj-entry-tags{display:block;margin-top:8px;color:#9b7c63;font-size:9px}
.xj-entry-actions{display:flex;justify-content:flex-end;gap:3px;margin-top:8px;border-top:1px solid #f0e8df;padding-top:5px}
.xj-entry-actions .xj-text-button{min-height:29px;padding:5px 7px;font-size:9px}
.xj-empty{padding:14px;border:1px dashed #d9cbbb;border-radius:8px;color:#928678;font-size:10px;line-height:1.6}
.xj-side>.xj-secondary{width:100%;margin-top:10px}
.xj-history-head{margin-top:24px;padding-top:19px;border-top:1px solid #e4d8ca}
.xj-history-head p{margin:0 0 12px;color:#81766a;font-size:10px;line-height:1.55}
.xj-history-list{display:grid;gap:7px;max-height:220px;overflow:auto}
.xj-history-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px;border:1px solid #e8ded2;border-radius:8px;background:#fffdf8}
.xj-history-copy{min-width:0;display:grid;gap:4px}.xj-history-copy strong{font-size:10px;overflow-wrap:anywhere}.xj-history-copy small{color:#968a7e;font-size:9px}
.xj-session-state{padding:4px 5px;border-radius:999px;background:#eee8dd;color:#75634f;font-size:8px;white-space:nowrap}
.xj-icon-delete{min-height:28px;padding:5px 7px;font-size:9px}
.xj-side>.xj-text-button{margin-top:8px;padding-left:0}
.xj-open{overflow:hidden}
@media(max-width:780px){.xj-overlay{padding:0}.xj-panel{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.xj-header{padding:19px 17px 15px}.xj-privacy{padding:10px 17px}.xj-layout{display:flex;flex-direction:column}.xj-editor{padding:18px 17px 22px;border-right:0;border-bottom:1px solid #e9dfd3}.xj-side{padding:18px 17px 26px}.xj-entry-list,.xj-history-list{max-height:none}.xj-editor textarea{min-height:145px}.xj-header p{max-width:300px}}
@media(prefers-reduced-motion:reduce){.xj-overlay{backdrop-filter:none}}
