.ss-tp{max-width:900px;margin:2.5rem auto;border:1px solid #d8d0c4;background:#fffdfa;color:#282522;border-radius:5px;font:inherit}.ss-tp *{box-sizing:border-box}.ss-tp-head{display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:1.5rem 1.5rem .75rem}.ss-tp-head h2{font-family:Georgia,serif;font-size:1.9rem;margin:0}.ss-tp-head p{margin:.25rem 0 0;color:#6c5747}.ss-tp-note{font-size:.83rem;line-height:1.55;color:#605a55;padding:0 1.5rem 1rem;border-bottom:1px solid #e8e0d4;margin:0}.ss-tp-dialog{display:flex;flex-direction:column}.ss-tp-feed{height:clamp(260px,45vh,470px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:1rem;padding:1.5rem;scrollbar-gutter:stable}.ss-tp-bubble{white-space:pre-wrap;overflow-wrap:anywhere;max-width:85%;padding:.9rem 1.15rem;line-height:1.6;border-radius:12px}.ss-tp-assistant{background:#f2eee8;align-self:flex-start}.ss-tp-user{background:#e9e2d8;align-self:flex-end}.ss-tp-failed{border:1px solid #b15d42;opacity:.75}.ss-tp-compose{border-top:1px solid #e8e0d4;background:#faf8f3;padding:1rem 1.5rem 1.25rem}.ss-tp-starters{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem}.ss-tp-starters[hidden]{display:none}.ss-tp-starters p{width:100%;margin:0 0 .1rem;color:#5c5146;font-size:.9rem}.ss-tp-starters button{background:transparent;border:1px solid #a5907c;color:#63412e;padding:.5rem .8rem;border-radius:5px;cursor:pointer;font:inherit;font-size:.9rem}.ss-tp-form label{display:block;margin:0 0 .4rem;font-weight:600}.ss-tp textarea{width:100%;display:block;min-height:92px;resize:vertical;padding:.85rem;border:1px solid #9d958b;background:white;font:inherit;color:#242424;border-radius:4px}.ss-tp-actions{display:flex;align-items:center;gap:1rem;justify-content:space-between;margin-top:.7rem}.ss-tp-send{border:0;background:#944a32;color:#fff;padding:.75rem 1.25rem;border-radius:4px;cursor:pointer;font:600 .9rem Arial,sans-serif;white-space:nowrap}.ss-tp-reset{background:transparent;border:1px solid #a5907c;border-radius:4px;color:#614737;padding:.55rem .85rem;cursor:pointer;font-size:.85rem}.ss-tp button:disabled{opacity:.5;cursor:wait}.ss-tp-status{color:#794528;font-size:.85rem}.ss-tp-keyhint{font-size:.75rem;color:#706a63;margin:.5rem 0 0}.ss-tp button:focus-visible,.ss-tp textarea:focus-visible{outline:3px solid #b66b44;outline-offset:2px}@media(max-width:600px){.ss-tp-head{padding:1rem}.ss-tp-note{padding:0 1rem 1rem}.ss-tp-feed{height:340px;padding:1rem}.ss-tp-compose{padding:1rem}.ss-tp-bubble{max-width:95%}.ss-tp-keyhint{display:none}}

/* v0.4: Keep the first composer visible without a tall empty transcript. */
.ss-tp:not(.ss-tp-started) .ss-tp-feed{height:auto;min-height:105px;max-height:175px;overflow-y:auto}
.ss-tp .ss-tp-compose{scroll-margin-top:30px}
@media(max-width:600px){.ss-tp:not(.ss-tp-started) .ss-tp-feed{height:auto;min-height:90px;max-height:155px}}

/* v0.5: compact composer and calm, progressive disclosure */
.ss-tp textarea{min-height:56px;height:66px;max-height:180px}
.ss-tp-privacy-toggle{font:inherit;font-size:inherit;color:#684634;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:0 2px;cursor:pointer}
.ss-tp-privacy-detail{display:block;margin-top:.5rem}
.ss-tp-privacy-detail[hidden]{display:none}
.ss-tp{scroll-margin-top:20px}

/* v0.6: editorial introduction, compact always-collapsed disclosure */
.ss-tp-intro{margin:0;padding:.3rem 1.5rem .3rem;color:#534d47;font-size:.95rem;line-height:1.6}
.ss-tp-disclosure{border-bottom:1px solid #e8e0d4;padding:0 1.5rem 1rem;color:#766d65;font-size:.77rem;line-height:1.55}
.ss-tp-disclosure>span:after{content:" · ";color:#95887b}
.ss-tp-privacy-detail{display:block;margin-top:.7rem;max-width:66ch;padding:.75rem 1rem;background:#f7f4ef;border-left:2px solid #d7c8b7;font-size:.94em}
.ss-tp-privacy-detail[hidden]{display:none!important}
.ss-tp-privacy-toggle{font-size:inherit}
.ss-tp textarea{min-height:56px;height:66px}
@media(max-width:600px){.ss-tp-intro{padding:.2rem 1rem}.ss-tp-disclosure{padding:0 1rem .85rem}}

/* v0.7: Local, reader-controlled reflections */
.ss-tp-journal[hidden]{display:none!important}.ss-tp-journal{padding:1.6rem;border-top:1px solid #d8d0c4;background:#fffdfa;scroll-margin-top:1.5rem}.ss-tp-journal-head{display:flex;justify-content:space-between;gap:1rem;align-items:center}.ss-tp-journal h3{font-family:Georgia,serif;font-size:1.5rem;margin:0}.ss-tp-journal-note{font-size:.85rem;color:#605a55;line-height:1.55}.ss-tp-journal label{display:block;margin:1rem 0;font-weight:600}.ss-tp-journal input,.ss-tp-journal textarea{display:block;width:100%;font:inherit;padding:.8rem;margin-top:.35rem;background:#fff;border:1px solid #9d958b;color:#242424;border-radius:4px;max-height:none;height:auto}.ss-tp-journal-actions{display:flex;flex-wrap:wrap;gap:.55rem}.ss-tp-journal-actions button,.ss-tp-close-journal,.ss-tp-keep{font:inherit;cursor:pointer;border:1px solid #ad9480;border-radius:4px;color:#60412e;background:transparent;padding:.55rem .85rem}.ss-tp-keep{margin-top:.8rem}.ss-tp-draft-status{font-size:.84rem;color:#6a625c}.ss-tp-journal button:focus-visible,.ss-tp-journal input:focus-visible,.ss-tp-journal textarea:focus-visible{outline:3px solid #b66b44;outline-offset:2px}@media(max-width:600px){.ss-tp-journal{padding:1rem}.ss-tp-journal-head{align-items:flex-start;flex-direction:column}}

/* v0.7.2: staged and legible reflection workflow */
.ss-tp-journal .ss-tp-step{margin:.3rem 0;color:#685d54;font-size:.9rem}.ss-tp-journal-note{margin:.5rem 0 1rem}.ss-tp-journal .ss-tp-source{padding:1rem;background:#f6f1eb;border-left:3px solid #b8997e;margin:1rem 0}.ss-tp-source strong{display:block;font-size:.82rem;letter-spacing:.02em}.ss-tp-source blockquote{margin:.5rem 0;font:italic 1rem/1.5 Georgia,serif;white-space:pre-wrap}.ss-tp-source p{font-size:.85rem;color:#655c54;margin:.3rem 0 0}.ss-tp-journal .ss-tp-primary{background:#944a32;color:white;border-color:#944a32;font-weight:600}.ss-tp-review-stage[hidden],.ss-tp-write[hidden]{display:none!important}.ss-tp-review-paper{padding:1.4rem;background:#fff;border:1px solid #d9d0c4;margin:1rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.ss-tp-review-paper h4{font:600 1.4rem Georgia,serif;margin:.4rem 0 1rem}.ss-tp-preview-body{line-height:1.6}.ss-tp-reflection-date{color:#695e55;font-size:.8rem}.ss-tp-journal-extra{border-top:1px solid #e2d9cd;margin-top:1.5rem;padding-top:1rem}.ss-tp-journal-extra summary{color:#665044;cursor:pointer;font-size:.86rem}.ss-tp-journal-extra .ss-tp-journal-actions{margin-top:.8rem}.ss-tp-draft-status{padding:.3rem 0;min-height:1.8rem}.ss-tp-journal .ss-tp-journal-actions{margin-top:1rem}

/* v0.7.3: unmistakable article-to-conversation handoff */
.ss-tp-article-context{margin:.2rem 1.5rem 1rem;padding:1rem 1.1rem;border-left:3px solid #ad7c60;background:#f7f2eb;color:#46382e}
.ss-tp-article-context span{display:block;font-size:.72rem;font-weight:700;letter-spacing:.055em;color:#7a5139;margin-bottom:.3rem}
.ss-tp-article-context strong{display:block;font:600 1.15rem/1.35 Georgia,serif}
.ss-tp-article-context p{margin:.35rem 0 0;font-size:.86rem;line-height:1.5}
@media(max-width:600px){.ss-tp-article-context{margin:.2rem 1rem 1rem}}

/* v0.7.4: article referral has one clear first action; reflection appears after starting dialogue */
.ss-tp-referred:not(.ss-tp-started) .ss-tp-keep{display:none}
.ss-tp-referred .ss-tp-article-context{margin-bottom:.55rem}
.ss-tp-referred .ss-tp-disclosure{padding-top:.4rem}

/* v0.7.7: reset hides the referral and restores the ordinary introduction. */
.ss-tp .ss-tp-article-context[hidden],.ss-tp .ss-tp-intro[hidden]{display:none!important}

/* v0.7.13: site-consistent sans-serif type and unshaded upper introduction.
   Preserve the shaded conversation messages and composer below. */
.ss-tp, .ss-tp :is(h1,h2,h3,h4,h5,h6,p,span,strong,blockquote,button,input,textarea,label,summary){font-family:Arial,Helvetica,sans-serif;}
.ss-tp .ss-tp-head h2,.ss-tp .ss-tp-journal h3,.ss-tp .ss-tp-article-context strong,.ss-tp .ss-tp-review-paper h4,.ss-tp .ss-tp-source blockquote{font-family:Arial,Helvetica,sans-serif;}
.ss-tp .ss-tp-source blockquote{font-style:italic;}
.ss-tp{background:#fff;}
.ss-tp .ss-tp-article-context{background:transparent;border-left:0;border-radius:0;padding:.2rem 0;margin:.35rem 1.5rem 1rem;}
.ss-tp .ss-tp-intro,.ss-tp .ss-tp-head,.ss-tp .ss-tp-disclosure{background:transparent;}
@media(max-width:600px){.ss-tp .ss-tp-article-context{margin:.2rem 1rem 1rem;}}

/* v0.7.14: help readers understand the journal action without keyboard hints. */
.ss-tp .ss-tp-keyhint{display:none!important}
.ss-tp .ss-tp-reflection-invite{margin-top:1.2rem;padding-top:1rem;border-top:1px solid #e8e0d4;font-family:Arial,Helvetica,sans-serif;}
.ss-tp .ss-tp-reflection-invite p{margin:0 0 .4rem;font-size:.87rem;line-height:1.5;color:#5d5149;}
.ss-tp .ss-tp-reflection-invite strong{font-weight:600;color:#44372f;}
.ss-tp .ss-tp-reflection-invite .ss-tp-keep{margin-top:.45rem;}
/* Keep lower dialogue and composer shading as before. */
.ss-tp .ss-tp-assistant{background:#f2eee8;}
.ss-tp .ss-tp-user{background:#e9e2d8;}
.ss-tp .ss-tp-compose{background:#faf8f3;}
