:root {
  --p1-body-size: 16px;
  --p1-workspace-size: 16px;
  --p1-article-size: 18px;
  --p1-ai-size: 16px;
  --p1-ai-meta-size: 13px;
  --p1-input-size: 15px;
  --p1-multi-workspace-height: calc(100vh - 118px);
  --p1-chat-default-height: 300px;
  --p1-chat-min-height: 180px;
  --p1-panel-gap: 8px;
  --p1-red: #A00000;
  --p1-navy: #1E2E3E;
}

body { font-size: var(--p1-body-size); }
.workspace-panel, .panel-body, .activity-area { font-size: var(--p1-workspace-size); }
.article-viewer { font-size: var(--p1-article-size) !important; line-height: 1.75; }

/* GDD is a normal, collapsible document block. Never sticky. */
.panel-gdd,
.get-ready-do-done,
[class*="gdd"] {
  position: static !important;
  top: auto !important;
}


/* v60: independently scrolling reading areas; growing chats always push the footer down. */
body #panelAnno, body #panelPrac { min-height:0!important; height:auto!important; max-height:none!important; overflow:visible!important; }
body #panelAnno > .panel-body, body #panelPrac > .panel-body { max-height:none!important; height:auto!important; min-height:0!important; overflow:visible!important; }
body #panelAnno .article-viewer, body #panelPrac .activity-area { max-height:72vh!important; overflow-y:auto!important; min-height:0!important; flex:0 1 auto!important; overscroll-behavior-y:contain; }
body #annoChatSection, body #pracChatSection { flex-shrink:0!important; overflow:visible!important; min-height:var(--site-chat-min,180px)!important; }
body #annoChatSection .site-grow-handle, body #pracChatSection .site-grow-handle { position:relative!important; flex-shrink:0!important; clear:both; }
