/* Stage 15 – scoped growth journal. Works with site header/sidebar without modifying global styles. */
.psg-root{font-family:inherit}.psg-root *{box-sizing:border-box}.psg-root button{cursor:pointer}.psg-hero img{object-position:40% 50%}
.psg-root label{display:flex;flex-direction:column;gap:7px;line-height:1.7;font-size:.92rem;color:#563c69;font-weight:700}.psg-root input[type=text],.psg-root select,.psg-root textarea{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #d8c4de;background:#fff;color:#352642;border-radius:10px;padding:10px 12px;font-size:.95rem;line-height:1.65;min-height:43px;font-family:inherit}.psg-root textarea{resize:vertical}.psg-root :is(input,button,textarea,select):focus-visible{outline:3px solid #c577a9;outline-offset:2px}.psg-root input::placeholder,.psg-root textarea::placeholder{color:#897a94;opacity:1}
.psg-editor-grid,.psg-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0}.psg-editor-grid .psg-wide,.psg-review-grid .psg-wide{grid-column:1/-1}.psg-editor-side{display:flex;flex-direction:column;justify-content:flex-end;align-items:start;gap:8px}.psg-editor-side small{color:#75657c;font-weight:400}.psg-feedback{padding:10px 14px;border-radius:11px;background:#f8eef9;color:#744b78;border-right:4px solid #9e5f9c;margin:15px 0 4px!important}
.psg-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.psg-topic{min-width:0;border:1px solid #ebdcec;border-radius:16px;background:linear-gradient(160deg,#fff,#fcf6ff);padding:17px}.psg-topic h3{font-size:1.12rem;margin-bottom:6px}.psg-topic>p{color:#66586d;font-size:.92rem}.psg-template-list{display:flex;flex-direction:column;gap:8px}.psg-template{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:right;min-height:40px;line-height:1.7;border:1px solid #e7d6e9;border-radius:10px;padding:7px 10px;background:#fff;color:#624370;font-size:.88rem}.psg-template:hover{background:#f7ecfb;border-color:#ba86c6}.psg-template span{color:#ba6395;font-weight:bold}
.psg-heading{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap}.psg-count{color:#784b88;font-size:.9rem}.psg-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.psg-summary>div{border:1px solid #e9d4ea;background:#fbf3fd;padding:12px 8px;border-radius:13px;text-align:center;display:flex;flex-direction:column;gap:2px}.psg-summary strong{font-size:1.7rem;line-height:1.5;color:#a14e8a}.psg-summary span{font-size:.79rem;color:#695876}.psg-meter{height:13px;background:#ecddf0;border-radius:99px;overflow:hidden;direction:ltr;margin:12px 0 19px}.psg-meter span{height:100%;display:block;width:0;background:linear-gradient(90deg,#7444a5,#ba5a8f);transition:width .25s}
.psg-toolbar,.psg-privacy-buttons{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:17px 0}.psg-toolbar>label:first-child{flex:1 1 200px}.psg-toolbar .psx-btn,.psg-privacy-buttons .psx-btn{font-size:.88rem}.psg-import{display:inline-flex!important;flex-direction:row!important;justify-content:center;align-items:center;min-height:43px;padding:7px 12px;border:1px solid #d7badc;background:#fff;color:#6e467b;border-radius:10px;cursor:pointer}.psg-import input{display:none!important}
.psg-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.psg-empty{border:1px dashed #decce5;background:#fcf8ff;border-radius:13px;padding:18px;grid-column:1/-1}.psg-goal{min-width:0;background:#fff;border:1px solid #e8d8ee;border-radius:16px;padding:17px;box-shadow:0 3px 14px #5435620b;display:flex;flex-direction:column;gap:12px}.psg-goal-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 0 10px;border-bottom:1px solid #f0e4f2}.psg-goal-head strong{font-size:.9rem;color:#7c538c}.psg-delete,.psg-step-remove{background:#fff0f3;border:1px solid #efc4ce;color:#9c3557;border-radius:8px;min-height:34px;padding:3px 9px;font-size:.8rem}.psg-subprogress{font-weight:700;color:#674577;margin:0!important}.psg-steps{display:grid;gap:8px}.psg-step{display:flex;align-items:center;gap:9px;border:1px solid #e7dceb;border-radius:10px;padding:7px;background:#fcfafd}.psg-step input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#8b529e}.psg-step input[type=text]{min-height:35px;flex:1;border:0;background:transparent;padding:3px 5px}.psg-step-remove{width:31px;min-height:31px;flex-shrink:0;font-size:1.2rem;line-height:1}.psg-more-step{border:1px dashed #caa2d4;color:#784d89;border-radius:9px;background:#fbf4ff;min-height:37px;padding:4px 10px;align-self:flex-start;font-size:.88rem}.psg-more-step:disabled{opacity:.45;cursor:not-allowed}
.psg-review-grid .psx-btn{justify-self:start}.psg-reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.psg-review-item{border:1px solid #e9dbe9;background:#fcfaff;padding:16px;border-radius:15px}.psg-review-item header{display:flex;gap:10px;justify-content:space-between;align-items:center;border-bottom:1px solid #efe2ed;padding-bottom:10px;margin-bottom:12px}.psg-review-item h3{margin:0;font-size:1.12rem}.psg-review-item strong{display:block;color:#773e80;font-size:.91rem}.psg-review-item p{font-size:.92rem;line-height:1.9;margin:4px 0 12px}.psg-guide{line-height:2.13}.psg-guide h3{margin:26px 0 8px;color:#75408a}.psg-guide p{text-align:justify;margin:0 0 17px}.psg-guide details{margin:12px 0;padding:11px 14px;border:1px solid #e9d9ed;border-radius:11px;background:#fcf8fd}.psg-guide details>summary{color:#754781;font-weight:700;cursor:pointer}.psg-guide details>p{margin-top:9px}
@media(max-width:820px){.psg-topic-grid,.psg-cards{grid-template-columns:1fr}.psg-goal{padding:14px}}
@media(max-width:620px){.psg-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.psg-review-grid,.psg-editor-grid,.psg-reviews{grid-template-columns:1fr}.psg-review-grid .psg-wide,.psg-editor-grid .psg-wide{grid-column:auto}.psg-editor-side button{width:100%}.psg-toolbar>.psx-btn,.psg-toolbar>.psg-import,.psg-privacy-buttons>.psx-btn{width:100%}.psg-toolbar>label:first-child{flex:1 1 100%}.psg-review-item{padding:12px}}
@media(prefers-reduced-motion:reduce){.psg-meter span{transition:none}}
@media print{.psg-hero,.psg-editor-grid,.psg-topic-grid,.psg-toolbar,.psg-privacy-buttons,.psg-review-grid,.psg-guide,.psx-related,.psg-feedback,.psg-more-step,.psg-delete,.psg-step-remove{display:none!important}.psg-root{max-width:none;padding:0}.psg-panel,.psx-panel{border:none;box-shadow:none;padding:0;margin:14px 0}.psg-cards{display:block}.psg-goal{break-inside:avoid;page-break-inside:avoid;box-shadow:none;margin-bottom:13px}.psg-step{border:0}.psg-review-item{break-inside:avoid}.psg-root input,.psg-root textarea{border:none!important;box-shadow:none!important;background:none!important;color:#222!important}.psg-root .psx-panel{background:#fff}}
