/* Shared home only: scoped styles leave private goals and legacy home untouched. */
#homeBoard.sh-home{min-width:0;max-width:100%;padding:3px 0 24px;color:#35445a;line-height:1.6;font-size:13px}
.sh-home *{box-sizing:border-box}.sh-home :is(section,article,div,form){min-width:0}.sh-home :is(h2,h3,h4,p){overflow-wrap:anywhere}
#homeBoard.sh-home .sh-heading{display:flex;align-items:center;justify-content:space-between;min-height:0;padding:0;text-align:left;margin:0 0 14px;background:none;border:0}
.sh-home .sh-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750;color:#b2935c}.sh-home .sh-heading h2{margin:4px 0;color:#fff7e8;font-size:27px;letter-spacing:-.7px;line-height:1.4}.sh-home .sh-heading p{margin:0;color:#bcb6ab;font-size:11px}
.sh-home .sh-status{margin:0 0 10px;color:#d6c4a0;font-size:11px}.sh-home .sh-status:empty{display:none}.sh-home .sh-toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px}.sh-home .sh-months{display:flex;gap:6px;flex-wrap:wrap}
#homeBoard.sh-home button{font:inherit;cursor:pointer;min-height:38px;border:1px solid #d9dfe7;border-radius:8px;padding:7px 11px;background:#fff;color:#56677c;font-weight:650;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#homeBoard.sh-home button:hover{border-color:#c4ad83;background:#fcf8f0}#homeBoard.sh-home button[aria-pressed=true],#homeBoard.sh-home .sh-primary{background:#92703a;color:#fff;border-color:#92703a}#homeBoard.sh-home button:disabled{opacity:.5;cursor:default}.sh-home :focus-visible{outline:3px solid #c3a165;outline-offset:3px}
.sh-home .sh-alert{padding:16px;border:1px solid #d7bf94;border-radius:10px;background:#fff7e8;color:#795b2f}.sh-home .sh-help{font-size:11px;color:#8a96a5;margin:9px 0 14px}
.sh-home .sh-rank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sh-home .sh-card{background:#fff;border:1px solid #e0d8c9;border-radius:12px;box-shadow:0 5px 20px #00000010;overflow:hidden;margin-bottom:15px}.sh-home .sh-rank-card{border-top:3px solid #b49761}
.sh-home .sh-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 12px;background:linear-gradient(120deg,#fffdfa,#f9f5eb);border-bottom:1px solid #efeae1}.sh-home .sh-card-head h3{font-size:17px;color:#35455c;margin:3px 0 0;letter-spacing:-.4px}.sh-home .sh-crown{color:#b4955e;font-size:32px;line-height:1}.sh-home .sh-rank-list{padding:0 18px;margin:0;list-style:none;max-height:400px;overflow-y:auto;overscroll-behavior:contain}
.sh-home .sh-rank-row{display:flex;align-items:center;gap:11px;padding:16px 0;border-bottom:1px solid #edf0f4;min-height:80px}.sh-home .sh-rank-row:last-child{border:0}.sh-home .sh-place{display:grid;place-items:center;flex:0 0 31px;height:31px;background:#f2f4f7;border-radius:9px;color:#8590a0;font-size:16px;font-weight:750}.sh-home .sh-first{background:#f7edda;color:#9c762d;border:1px solid #e9d5ad}
.sh-home .sh-person{flex:1;overflow:hidden}.sh-home .sh-person strong{display:block;font-size:15px;color:#3a4b62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sh-home .sh-person small{display:block;font-size:10px;color:#8a95a4;overflow-wrap:anywhere}.sh-home .sh-amount{font-size:16px;font-variant-numeric:tabular-nums;color:#93703a;text-align:right;max-width:48%;overflow-wrap:anywhere;line-height:1.4}
#homeBoard.sh-home .sh-rank-toggle{width:100%;border:0;border-top:1px solid #edf0f4;border-radius:0;text-align:right;color:#8c744d;font-size:11px;padding:9px 18px}.sh-home .sh-empty{text-align:center;padding:24px 10px;color:#8895a5;font-size:12px;margin:0}
.sh-home .sh-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid #ede8df}.sh-home .sh-section-head h3{margin:0;color:#35455c;font-size:17px}.sh-home .sh-notice{padding:14px 18px;border-bottom:1px solid #edf0f4}.sh-home .sh-notice:last-child{border:0}.sh-home .sh-notice-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.sh-home .sh-notice h4{font-size:14px;margin:0;color:#35455c}.sh-home .sh-notice time{font-size:10px;color:#8995a4;flex:none}.sh-home .sh-notice-body{white-space:pre-wrap;color:#596b80;margin:8px 0;font-size:12px;overflow-wrap:anywhere}
.sh-home .sh-awards{background:linear-gradient(110deg,#fffdf7,#faf4e8)}.sh-home .sh-award-list{display:flex;flex-wrap:wrap;gap:10px;padding:16px 18px}.sh-home .sh-award{display:grid;grid-template-columns:30px minmax(0,1fr);gap:1px 8px;border:1px solid #e8d9bc;border-radius:10px;padding:11px 13px;flex:1 1 180px;max-width:100%;background:#fffdf9}.sh-home .sh-award-star{grid-row:1/3;font-size:27px;color:#b19257}.sh-home .sh-award strong{color:#5e5038;overflow-wrap:anywhere}.sh-home .sh-award b{font-size:11px;color:#a58853}
.sh-home .sh-editor{padding:20px;border:1px solid #c3a165;border-radius:12px;background:#fff;color:#3f5067;box-shadow:0 7px 24px #0000001a;margin:16px 0}.sh-home .sh-editor h3{margin:0;color:#3a4b62;font-size:19px}.sh-home .sh-editor label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;margin:12px 0;min-width:0}.sh-home .sh-editor :is(input,textarea){font:inherit;box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;border:1px solid #d5dfe9;border-radius:7px;background:#fff;color:#3d5068;padding:9px 10px;min-height:42px}.sh-home .sh-editor textarea{min-height:140px;resize:vertical}.sh-home .sh-flags{display:flex;gap:18px;flex-wrap:wrap}.sh-home .sh-editor .sh-check{flex-direction:row;align-items:center;gap:7px}.sh-home .sh-check input{width:17px;min-height:17px;height:17px;padding:0;accent-color:#93723b}.sh-home .sh-editor-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e6ebf0;padding-top:14px;margin-top:16px}.sh-home .sh-awards-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;align-items:end;gap:10px;border-bottom:1px solid #edf0f4;padding-bottom:10px}.sh-home .sh-awards-editor-row button{margin-bottom:12px}.sh-home .sh-deleted-row{opacity:.55}
@media(max-width:600px){.sh-home .sh-rank-grid{grid-template-columns:minmax(0,1fr);gap:0}.sh-home .sh-heading h2{font-size:24px}.sh-home .sh-toolbar{gap:8px}.sh-home .sh-months{flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sh-home .sh-card-head,.sh-home .sh-section-head{padding-left:14px;padding-right:14px}.sh-home .sh-rank-list{padding:0 14px}.sh-home .sh-rank-row{gap:9px}.sh-home .sh-amount{font-size:15px}.sh-home .sh-editor{padding:15px}.sh-home .sh-awards-editor-row{grid-template-columns:minmax(0,1fr) 85px;gap:6px 9px}.sh-home .sh-awards-editor-row button{grid-column:1/-1;justify-self:end;margin:0}.sh-home .sh-section-head{flex-wrap:wrap}.sh-home .sh-notice{padding:13px 14px}.sh-home .sh-award-list{padding:14px}.sh-home .sh-award{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.sh-home *{scroll-behavior:auto!important}}

.sh-home .sh-kmi{display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:100%;padding:14px 17px;border:1px solid #d5dce3;border-radius:10px;background:#fff;margin:0 0 15px;color:#40556c;text-decoration:none;box-shadow:0 3px 10px #00000008}.sh-home .sh-kmi strong{flex:1;min-width:120px;font-size:13px}.sh-home .sh-kmi>span:last-child{font-size:11px;color:#5b7690}.sh-home .sh-kmi-mark{display:grid;place-items:center;width:34px;height:34px;background:#ecf3f8;color:#5681a1;border-radius:8px;font-size:25px}
