/* Go 模板版的少量布局补充；公共样式延续原门户。 */
[hidden] { display: none !important; }
.no-js [data-js-only] { display: none !important; }
.static-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.static-filters label { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.static-filters select { padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--text); }
.static-two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.static-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.static-catalog-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin: 10px 0; }
.static-catalog-card > div { flex: 1; min-width: 0; }
.static-catalog-card h3 { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.static-catalog-card p { color: #788a97; font-size: 12px; line-height: 1.8; }
.static-catalog-card .small-pill { flex: none; }
.search-popover .static-catalog-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 14px 16px; }
.search-popover .static-catalog-card p { display: none; }
.search-popover { max-height: min(70vh,500px); overflow-y: auto; }
.static-empty { background: #fff; border: 1px dashed var(--line); padding: 28px; color: #7b8d99; text-align: center; margin: 16px 0; line-height: 1.9; }
.static-note-card,.static-draft-card { background: #fff; border: 1px solid var(--line); padding: 22px; margin: 14px 0; border-radius: 8px; }
.static-note-card p,.static-draft-card > p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; color: #607986; font-size: 13px; margin-top: 10px; }
.question-form { background: #fff; padding: 26px; border: 1px solid var(--line); border-radius: 9px; }
.question-form > label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; font-size: 13px; }
.question-form input,.question-form select,.question-form textarea { padding: 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
#question-error { color: #b24735; background: #fff4ef; padding: 15px; margin-bottom: 20px; line-height: 1.8; }
.resource-card { padding: 24px; }
.resource-card h2 { font-size: 17px; margin: 15px 0 10px; }
.resource-card > p { color: #6d8190; font-size: 13px; line-height: 1.8; }
.discussion-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; }
.discussion-card h2 { font-size: 18px; line-height: 1.6; margin: 12px 0; }
.discussion-card > p { font-size: 13px; line-height: 1.9; color: #6d8190; }
.study-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.study-card-heading { display: flex; align-items: center; gap: 10px; }
.study-card-heading h2 { font-size: 15px; }
.study-progress { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 12px; }
.study-progress strong { font-size: 32px; color: var(--primary); }
.study-progress span,.study-card > p,.weekly-summary { font-size: 12px; color: #7a8f9b; }
.study-card .goal-control { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 12px; }
.study-card .button { margin-top: 12px; }.study-card .text-button { margin-top: 12px; }
.career-intro { padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 18px; }
.career-intro h2 { font-size: 20px; margin-bottom: 12px; }.career-intro p { font-size: 13px; line-height: 1.8; }
.project-card { padding: 24px; }.project-card h3 { line-height: 1.7; margin: 12px 0; }.project-card > p { min-height: 72px; font-size: 13px; color: #6c8492; line-height: 1.9; }.project-card-top,.project-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }.project-tags > span { padding: 3px 8px; border-radius: 4px; background: #f1f7f9; color: #6e8793; font-size: 11px; }
.footer { flex-wrap: wrap; gap: 16px; }.footer > div { display: flex; flex-direction: column; gap: 8px; }.footer > p { width: 100%; color: #879aa5; font-size: 11px; }
.export-dialog { width: min(720px,90vw); padding: 25px; border: 1px solid var(--line); border-radius: 12px; }.export-dialog::backdrop { background: #12334880; }#export-json { width: 100%; height: 300px; margin: 18px 0; font: 12px/1.7 Consolas,monospace; padding: 14px; border: 1px solid var(--line); border-radius: 5px; }
@media(max-width:760px) { .static-two-columns { grid-template-columns: minmax(0,1fr); }.static-catalog-card { padding: 15px; gap: 9px; }.static-catalog-card h3 { font-size: 14px; }.question-form { padding: 18px; }.static-filters { padding: 12px; gap: 10px; }.static-filters label { flex: 1 1 140px; justify-content: space-between; } }
@media print { [data-js-only],.static-filters,.static-card-actions,#export-dialog { display: none !important; } }

/* Brand lockup remains aligned after the generic footer column rule. */
.footer > div.footer-brand{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 9px;align-items:center}.footer-brand > img{grid-column:1;grid-row:1 / 3}.footer-brand > strong{grid-column:2}.footer-brand > span{grid-column:2;line-height:1.8}
