/* Account subpages: shared interface aligned with member dashboard. */
:root{color-scheme:light}
*{box-sizing:border-box}
body.tb-publication,body.tb-account-form{margin:0;background:#f1f5f9;color:#162b43;font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}
.tb-page{width:min(960px,calc(100% - 36px));margin:36px auto 60px;padding:34px 40px;background:#fff;border:1px solid #dfe7ef;border-radius:18px;box-shadow:0 12px 30px rgba(17,38,59,.035)}
.tb-page h1{font-size:clamp(28px,3.3vw,38px);letter-spacing:-.035em;line-height:1.2;margin:18px 0 18px;color:#102a48}
.tb-page h2{font-size:21px;line-height:1.3;margin:30px 0 12px;color:#102a48}
.tb-page p{margin:12px 0;color:#52677c}
.tb-page strong{color:#152e4b}
.tb-page a{color:#0c6974;text-underline-offset:4px}
.tb-page a:hover{color:#ea6d24}
.tb-page .tb-nav{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:20px;font-weight:650;font-size:14px}
.tb-page .tb-nav a{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid #dce6ef;border-radius:9px;background:#f8fafc;text-decoration:none}
.tb-page .tb-nav a:hover{border-color:#ec6f24}
.tb-page .tb-lead{color:#536a80;max-width:74ch}
.tb-page form{display:grid;gap:17px;margin:24px 0;background:#f9fbfd;border:1px solid #e3e9f0;border-radius:14px;padding:24px}
.tb-page form label{display:grid;gap:7px;font-size:14px;font-weight:700;color:#213954}
.tb-page input:not([type=hidden]),.tb-page select,.tb-page textarea{width:100%;min-height:46px;font:inherit;font-weight:400;color:#18334c;background:#fff;border:1px solid #bfcdd9;border-radius:9px;padding:11px 13px}
.tb-page textarea{resize:vertical;min-height:180px;line-height:1.65}
.tb-page input:focus,.tb-page select:focus,.tb-page textarea:focus{outline:2px solid #0b8193;outline-offset:1px;border-color:#0b8193}
.tb-page button{width:auto;min-height:45px;cursor:pointer;padding:11px 22px;color:#fff;font:700 15px/1.4 inherit;border:0;border-radius:9px;background:#087a75}
.tb-page button[name=intent][value=submit]{background:#e56c25}
.tb-page button:hover{filter:brightness(.94)}
.tb-page .tb-actions{display:flex;gap:12px;flex-wrap:wrap}
.tb-page .tb-empty{border:1px dashed #d5e0e9;background:#f8fafc;border-radius:11px;padding:18px 20px}
.tb-page .tb-entry{padding:16px 0;border-bottom:1px solid #e6edf3;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tb-page .tb-entry a{font-weight:650}
.tb-page .tb-status{display:inline-flex;align-items:center;padding:3px 9px;background:#eaf4f0;color:#126453;border-radius:100px;font-size:12px;font-weight:700}
.tb-page [role=alert]{color:#a32626;background:#fff3f3;border:1px solid #f3c8c8;padding:10px 14px;border-radius:10px}
.tb-page [role=status]{color:#146346;background:#effaf3;border:1px solid #bee6d0;padding:10px 14px;border-radius:10px}
.tb-page :is(a,button):focus-visible{outline:3px solid #e56c25;outline-offset:3px}
@media(max-width:650px){.tb-page{width:calc(100% - 22px);margin:14px auto 32px;padding:22px 17px}.tb-page form{padding:16px}.tb-page .tb-actions{display:grid}.tb-page .tb-actions button{width:100%}}

.tb-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;margin:14px 0 25px}.tb-asset-card{border:1px solid #dce7ef;background:#f8fafc;border-radius:12px;padding:13px;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.tb-asset-card img{display:block;width:100%;height:142px;object-fit:contain;background:#fff;border-radius:8px}.tb-asset-card a{font-size:14px}.tb-asset-card strong{font-size:14px}.tb-asset-file{display:grid;place-items:center;background:#e8edf3;color:#31465c;font-weight:750;min-height:100px;border-radius:8px}.tb-nav a[aria-current=page]{border-color:#db762d;background:#fff6ee;color:#a34a16}

.tb-editor-toolbar{display:flex;gap:5px;flex-wrap:wrap;border:1px solid #c9d6e3;border-bottom:0;background:#eef4f8;padding:8px;border-radius:10px 10px 0 0}.tb-page .tb-editor-toolbar button{min-height:33px;padding:5px 11px;background:#fff;color:#17314d;border:1px solid #c7d5e2;font-size:13px;font-weight:700}.tb-editor-surface{min-height:260px;max-height:680px;overflow:auto;background:#fff;border:1px solid #bfcdd9;border-radius:0 0 10px 10px;padding:18px 20px;line-height:1.75;outline:none}.tb-editor-surface:focus{border-color:#087a75;box-shadow:0 0 0 2px #087a7525}.tb-editor-surface h2{font-size:22px;margin:20px 0 8px}.tb-editor-surface p{margin:10px 0}.tb-editor-surface ul{padding-left:22px}.tb-editor-surface a{color:#0d7785;text-decoration:underline}.tb-editor-surface:empty:before{content:attr(data-placeholder);color:#8191a3}.tb-publication .text h2{margin:22px 0 10px}.tb-publication .text ul{padding-left:24px}
