/* New activity categories are discovery views; My library keeps its folders. */
.template-picker-page .site-main { border-radius: 14px; overflow: hidden; }
.category-chooser { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 24px 32px 0; }
.category-button { --category-color: #206a76; --category-soft: #edf7f7; position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 100px; padding: 17px; text-align: left; border: 1px solid #d4e1e5; border-radius: 12px; background: #fff; color: #203d49; font: inherit; cursor: pointer; }
.category-button[data-category="brain"] { --category-color: #80552c; --category-soft: #fff6e9; }
.category-button[data-category="tools"] { --category-color: #526d40; --category-soft: #f1f7ed; }
.category-button:hover { border-color: var(--category-color); background: var(--category-soft); }
.category-button[aria-pressed="true"] { border: 2px solid var(--category-color); padding: 16px; background: var(--category-soft); box-shadow: 0 3px 9px #1537470a; }
.category-button:focus-visible, .tool-card:focus-visible { outline: 3px solid #ad741b; outline-offset: 4px; }
.category-icon { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; background: var(--category-soft); color: var(--category-color); }
.category-icon svg { width: 38px; height: 38px; }
.category-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.category-name { font-size: 17px; line-height: 1.25; font-weight: 800; }
.category-count { color: #506875; font-size: 13px; line-height: 1.35; }
.category-selected { display: none; position: absolute; top: 7px; right: 7px; width: 15px; height: 15px; color: var(--category-color); }
.category-button[aria-pressed="true"] .category-selected { display: block; }
.category-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; padding: 24px 32px 0; }
.category-heading h2 { margin: 0; color: #203d49; font-size: 22px; font-weight: 800; }
.category-heading p { margin: 7px 0 0; color: #506875; font-size: 14px; line-height: 1.55; }
.category-heading .template-status { margin: 0 0 2px; font-size: 12px; }
.template-picker-page .template-grid { padding-top: 19px; }
.template-picker-page .template-copy h3 { margin: 0; color: var(--cp-ink, #203d49); font-size: 16px; font-weight: 800; line-height: 1.2; }
html[lang="zh-CN"] .template-picker-page .template-copy h3 { line-height: 1.5; }
.template-picker-page #templateView[data-category="tools"] .picker-steps > :not(h1) { display: none; }
.tool-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 232px; min-width: 0; padding: 24px; border: 1px solid #d4e1e5; border-radius: 12px; background: #fff; color: #203d49; text-decoration: none; box-shadow: 0 3px 9px #15374709; }
.tool-card:hover { border-color: #91b5c3; background: #fbfdfb; box-shadow: 0 7px 20px #15374712; }
.tool-card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 17px; background: #f1f7ed; color: #526d40; border-radius: 13px; }
.tool-card-icon svg { width: 38px; height: 38px; }
.tool-card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.tool-card p { margin: 10px 0 18px; color: #506875; font-size: 14px; line-height: 1.55; }
.tool-card-action { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #206a76; font-size: 13px; font-weight: 800; }
.tool-card-action svg { width: 18px; height: 18px; }
.category-empty { grid-column: 1 / -1; padding: 30px 18px; text-align: center; }
.category-empty p { margin: 0 0 15px; }
.welcome-tool-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1248px; margin: 28px auto 0; width: calc(100% - 96px); padding: 17px 21px; background: #eef4e8; border: 1px solid #d4dfcb; border-radius: 12px; color: #173b43; }
.welcome-tool-callout-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.welcome-tool-callout-icon { flex: 0 0 37px; width: 37px; height: 37px; color: #467444; }
.welcome-tool-callout h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.4; }
.welcome-tool-callout p { margin: 0; color: #4e6265; font-size: 13px; line-height: 1.5; }
.welcome-tool-callout a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #b1c5ae; border-radius: 8px; background: #fffdf6; color: #155f69; text-decoration: none; font-size: 13px; font-weight: 800; }
.welcome-tool-callout a:hover { background: #fff; border-color: #467444; }
.welcome-tool-callout a svg { width: 18px; height: 18px; }
@media(max-width:1000px) { .category-chooser { padding: 22px 24px 0; gap: 10px; } .category-button { gap: 9px; padding: 13px; } .category-button[aria-pressed="true"] { padding: 12px; } .category-icon { flex-basis: 40px; width: 40px; height: 45px; } .category-icon svg { width: 33px; height: 33px; } .category-name { font-size: 15px; } .category-heading { padding: 22px 24px 0; } }
@media(max-width:700px) { .category-chooser { padding: 19px 17px 0; gap: 8px; } .category-button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px; } .category-button[aria-pressed="true"] { padding: 11px 9px; } .category-icon { flex-basis: auto; width: 36px; height: 36px; } .category-icon svg { width: 30px; height: 30px; } .category-copy { gap: 5px; } .category-name { font-size: 13px; } .category-count { font-size: 11px; } .category-heading { padding: 23px 17px 0; } .category-heading h2 { font-size: 20px; } .category-heading p { font-size: 13px; } .category-heading .template-status { font-size: 11px; } .welcome-tool-callout { width: calc(100% - 48px); margin-top: 23px; } }
@media(max-width:460px) { .welcome-tool-callout { width: calc(100% - 36px); padding: 15px; flex-wrap: wrap; gap: 12px; } .welcome-tool-callout a { margin-left: 51px; } .welcome-tool-callout h2 { font-size: 15px; } .welcome-tool-callout p { font-size: 12px; } .category-chooser { gap: 6px; } .category-button { padding: 11px 8px; } .category-button[aria-pressed="true"] { padding: 10px 7px; } .category-name { font-size: 12px; } }
