/* Personal Readings — v11 exact structural migration atop real v380 APIs. */
#th-v11-entry .th11-personal-stats{margin:4px 0 14px}
#th-v11-entry .th11-personal-layout{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr);gap:17px;align-items:start}
#th-v11-entry .th11-personal-list,#th-v11-entry .th11-personal-detail{min-width:0;box-shadow:var(--shadow)}
#th-v11-entry .th11-personal-list{padding:17px}
#th-v11-entry .th11-personal-detail{padding:19px}
#th-v11-entry #panel-requests{display:block;min-width:0;margin:0;padding:0;background:none;border:0;box-shadow:none;max-width:none}
#th-v11-entry #panel-requests > .role-admin-card{display:contents}
#th-v11-entry #panel-requests > .role-admin-card > .journal-day-head,
#th-v11-entry #panel-requests > .role-admin-card > p,
#th-v11-entry #panel-requests .request-view-toggle{display:none!important}
#th-v11-entry .th11-personal-filters{max-width:100%;margin-bottom:16px}
#th-v11-entry #requestHistoryList{display:flex;flex-direction:column;gap:10px;width:100%;min-height:110px}
#th-v11-entry #requestHistoryList .request-card{display:block;position:relative;min-width:0;max-width:none;width:100%;margin:0;padding:16px 15px 14px;border:1px solid var(--edge);border-radius:13px;background:var(--panel);box-shadow:0 3px 15px rgba(17,40,36,.045);color:var(--ink);font-family:var(--ui);line-height:1.45;overflow:visible;cursor:default}
#th-v11-entry #requestHistoryList .request-card[hidden]{display:none!important}
#th-v11-entry #requestHistoryList .request-card.th11-active-request{outline:2px solid var(--gold);outline-offset:-2px}
#th-v11-entry #requestHistoryList .request-card h4{font:24px/1.14 var(--serif);font-weight:normal;color:var(--ink);margin:0 0 8px;overflow-wrap:anywhere}
#th-v11-entry #requestHistoryList .request-card p{color:var(--muted);font-size:13px;line-height:1.55;margin:6px 0;overflow-wrap:anywhere}
#th-v11-entry #requestHistoryList .request-card .journal-meta{font-size:12px;color:var(--muted);margin:5px 0;line-height:1.5}
#th-v11-entry #requestHistoryList .request-card .request-status{display:inline-flex;align-items:center;border:1px solid var(--edge);border-radius:100px;padding:5px 10px;font-size:11px;font-weight:720;letter-spacing:.01em;margin:8px 0;background:var(--sea);color:var(--deep)}
#th-v11-entry #requestHistoryList .request-card .request-actions{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 0}
#th-v11-entry #requestHistoryList .request-card .request-actions button{display:inline-flex;align-items:center;justify-content:center;background:var(--deep);color:#fff;border:1px solid var(--gold);padding:9px 12px;border-radius:9px;min-height:38px;font-size:12px;font-weight:650;font-family:var(--ui);box-shadow:none}
#th-v11-entry #requestHistoryList .request-card .request-actions button:hover{filter:brightness(1.16)}
#th-v11-entry #requestHistoryList .request-card .case-identity-corner{position:relative!important;inset:auto!important;display:flex;margin:0 0 9px;max-width:100%;}
#th-v11-entry .th11-personal-case-heading{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--edge);padding-bottom:15px;margin-bottom:13px}
#th-v11-entry .th11-personal-case-heading h2{font:29px/1.1 var(--serif);margin:0 0 5px;color:var(--ink)}
#th-v11-entry .th11-case-data{display:grid;gap:8px;padding:11px 13px;border:1px solid var(--edge);border-radius:10px;background:var(--cream);font:13px/1.55 var(--ui)}
#th-v11-entry .th11-case-data strong{color:var(--ink)}
#th-v11-entry .th11-case-data p{margin:3px 0 0;color:var(--muted);overflow-wrap:anywhere}
#th-v11-entry #th11PersonalThreadMount[hidden]{display:none!important}
#th-v11-entry .th11-live-thread{min-width:0;max-width:100%;width:100%;display:flex;flex-direction:column;gap:12px;padding:0;border:none;background:none;box-shadow:none}
#th-v11-entry #threadHeading{padding:10px 0;border:0;background:none;color:var(--ink);min-width:0}
#th-v11-entry #threadHeading h3{font:23px var(--serif);margin:0 0 6px;color:var(--ink)}
#th-v11-entry #messageStream{overflow:visible!important;max-height:none!important;min-width:0;display:flex;flex-direction:column;gap:10px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--ink)!important}
#th-v11-entry #messageStream > *{min-width:0;max-width:100%;overflow-wrap:anywhere}
#th-v11-entry #messageStream .message-bubble,#th-v11-entry #messageStream .reading-request-bubble{border-radius:13px;padding:14px 15px;background:var(--cream);border:1px solid var(--edge);color:var(--ink);box-shadow:none;max-width:100%}
#th-v11-entry #messageStream .message-bubble *{overflow-wrap:anywhere}
#th-v11-entry #messageForm{display:flex;flex-direction:column;gap:9px;padding:13px;border:1px solid var(--edge);border-radius:12px;background:var(--panel);min-width:0}
#th-v11-entry #messageForm[hidden],#th-v11-entry #followupPurchasePanel[hidden]{display:none!important}
#th-v11-entry #messageForm textarea{width:100%;min-width:0;min-height:100px;border:1px solid var(--edge);border-radius:9px;background:var(--cream);color:var(--ink);font:14px var(--ui);padding:12px;resize:vertical}
#th-v11-entry #messageForm button{align-self:start;min-height:39px;padding:9px 16px;background:var(--deep);color:white;border:1px solid var(--gold);border-radius:9px;box-shadow:none;font-family:var(--ui)}
#th-v11-entry #followupPurchasePanel{padding:12px;border:1px solid var(--edge);border-radius:10px;background:var(--cream)}
#th-v11-entry .th11-personal-policy{margin-top:17px}
#th-v11-entry .th11-personal-list .account-empty,#th-v11-entry .th11-personal-detail .account-empty{padding:20px;text-align:center;color:var(--muted)}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card{background:#20152c!important;border-color:#6b5280!important;color:#f8edf7!important}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card h4{color:#f8edf7}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card p,
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card .journal-meta{color:#dbcbdf}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card .request-status{background:#42284f!important;border-color:#a785ba!important;color:#fff9ef!important}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card .request-actions button{background:#452459;border-color:#c6a176;color:#fff7ee}
#th-v11-entry[data-ui-theme=dark] .th11-case-data,
#th-v11-entry[data-ui-theme=dark] #messageStream .message-bubble,
#th-v11-entry[data-ui-theme=dark] #messageStream .reading-request-bubble{background:#24172f;border-color:#6b5280;color:#f9edf8}
#th-v11-entry[data-ui-theme=dark] .th11-case-data p{color:#decfe3}
#th-v11-entry[data-ui-theme=dark] #messageStream .message-bubble *,#th-v11-entry[data-ui-theme=dark] #messageStream .reading-request-bubble *{color:inherit}
#th-v11-entry[data-ui-theme=dark] #messageForm{background:#20152c;border-color:#6b5280;color:#f9eaf7}
#th-v11-entry[data-ui-theme=dark] #messageForm textarea{background:#2b1a3b;border-color:#7b5a8d;color:#fff8f9}
@media(max-width:1050px){#th-v11-entry .th11-personal-layout{grid-template-columns:1fr}}
@media(max-width:760px){#th-v11-entry .th11-personal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#th-v11-entry .th11-personal-stats .stat{padding:10px}#th-v11-entry .th11-personal-stats strong{font-size:23px}#th-v11-entry .th11-personal-stats span{font-size:11px}#th-v11-entry .th11-personal-layout{gap:12px}#th-v11-entry .th11-personal-list,#th-v11-entry .th11-personal-detail{padding:13px}#th-v11-entry .th11-personal-filters{width:100%}#th-v11-entry .th11-personal-filters button{padding:8px 10px;font-size:12px}}
@media(max-width:420px){#th-v11-entry .th11-personal-stats{gap:5px}#th-v11-entry .th11-personal-stats .stat{padding:8px}#th-v11-entry .th11-personal-stats strong{font-size:20px}#th-v11-entry .th11-personal-stats span{font-size:10px}}

#th-v11-entry #requestHistoryList .request-card .request-status{max-width:100%;white-space:normal;line-height:1.35}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card.case-with-identity{background:#20152c!important;background-image:none!important;border-color:#6b5280!important;box-shadow:0 6px 18px #10081755!important}
#th-v11-entry[data-ui-theme=dark] #requestHistoryList .request-card .request-status{background:#42284f!important;color:#fff9ef!important;border-color:#a785ba!important}
