/* Reader search, contextual explanation and My J-Connect */
:root{--jcr-blue:#0756a0;--jcr-text:#182b40;--jcr-muted:#54667a;--jcr-border:#d6e2ef;--jcr-surface:#fff;--jcr-soft:#f0f6fc}
:root[data-theme="dark"]{--jcr-blue:#82baf9;--jcr-text:#e7eef8;--jcr-muted:#aabed2;--jcr-border:#344c67;--jcr-surface:#17283d;--jcr-soft:#102034}
.jcr-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.jcr-primary,.jcr-secondary,.jcr-bookmark,.jcr-remove,.jcr-examples button,.jcr-filter button,.jcr-selection-trigger,.jcr-dialog-close{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 13px;border:1px solid var(--jcr-border);border-radius:8px;background:var(--jcr-surface);color:var(--jcr-blue)!important;font:inherit;font-size:14px;font-weight:700;line-height:1.45;text-decoration:none!important;cursor:pointer;white-space:normal;text-align:center}
.jcr-primary,.jcr-selection-trigger{background:#0756a0;color:#fff!important;border-color:#0756a0}
.jcr-primary:hover,.jcr-selection-trigger:hover{background:#0b3a6e}
.jcr-secondary:hover,.jcr-bookmark:hover,.jcr-examples button:hover,.jcr-filter button:hover{background:var(--jcr-soft);border-color:var(--jcr-blue)}
.jcr-primary:disabled,.jcr-secondary:disabled{opacity:.6;cursor:default}
.jcr-search button:focus-visible,.jcr-my-page button:focus-visible,.jcr-article-actions button:focus-visible,.jcr-selection-trigger:focus-visible,.jcr-selection-dialog button:focus-visible{outline:2px solid var(--jcr-blue);outline-offset:3px}
.jcr-search{background:var(--jcr-surface);border:1px solid var(--jcr-border);border-radius:15px;padding:18px 22px;margin:18px 0;color:var(--jcr-text);box-shadow:0 6px 24px rgba(13,56,100,.07)}
.jcr-search-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.jcr-search-heading h2{color:var(--jcr-text);font-size:clamp(18px,2.1vw,23px);line-height:1.35;margin:0 0 3px}
.jcr-search-heading h2 span{color:var(--jcr-blue)}
.jcr-search-heading p,.jcr-muted{font-size:13px;line-height:1.55;color:var(--jcr-muted);margin:0}
.jcr-my-link{flex:none;color:var(--jcr-blue)!important;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}
.jcr-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.jcr-search-form textarea,.jcr-task-form input,.jcr-task-details input{min-width:0;width:100%;border:1px solid var(--jcr-border);border-radius:8px;background:var(--jcr-soft);color:var(--jcr-text);font:inherit;font-size:15px;padding:10px 12px;line-height:1.5}
.jcr-search-form textarea{resize:vertical;min-height:52px;max-height:180px}
.jcr-search-form .jcr-primary{min-width:116px}
.jcr-search-form textarea:focus,.jcr-task-form input:focus,.jcr-task-details input:focus{outline:2px solid var(--jcr-blue);outline-offset:1px}
.jcr-examples{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
.jcr-examples button,.jcr-filter button{min-height:30px;font-size:12px;padding:5px 11px;border-radius:20px}
.jcr-search-results{border-top:1px solid var(--jcr-border);margin-top:16px;padding-top:16px}
.jcr-search-results[hidden],.jcr-selection-trigger[hidden]{display:none!important}
.jcr-search-results h3,.jcr-selection-answer h3{margin:0 0 8px;font-size:16px;color:var(--jcr-text)}
.jcr-ai-answer{padding:14px;background:var(--jcr-soft);border:1px solid var(--jcr-border);border-radius:10px;margin-bottom:16px}
.jcr-ai-answer:empty{display:none}
.jcr-answer-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;color:var(--jcr-text);font-size:14px;margin-bottom:9px}
.jcr-status,.jcr-consent p{font-size:14px;color:var(--jcr-muted);line-height:1.55;margin:0 0 8px;overflow-wrap:anywhere}
.jcr-consent a,.jcr-result-title,.jcr-my-inline,.jcr-task-details a,.jcr-saved-row a{color:var(--jcr-blue)!important;text-decoration:underline;text-underline-offset:2px}
.jcr-result-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}
.jcr-result{display:flex;align-items:flex-start;gap:8px;padding:13px;border:1px solid var(--jcr-border);border-radius:10px;background:var(--jcr-surface)}
.jcr-result-copy{flex:1;min-width:0}.jcr-result-title{display:block;font-size:14px;font-weight:750;line-height:1.55;overflow-wrap:anywhere}.jcr-result p{font-size:12.5px;line-height:1.55;margin:5px 0 0;color:var(--jcr-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.jcr-cited{display:inline-block;font-size:11px;line-height:1.5;font-weight:700;color:var(--jcr-blue);margin-bottom:4px}
.jcr-bookmark-compact{width:37px;min-height:37px;flex:none;padding:0;font-size:22px;line-height:1}
.jcr-bookmark[aria-pressed="true"]{background:var(--jcr-soft);border-color:var(--jcr-blue)}
.jcr-article-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:13px 0 5px}
.jcr-article-actions .jcr-secondary,.jcr-article-actions .jcr-bookmark{min-height:36px;font-size:12.5px;padding:6px 11px}
.jcr-my-inline{font-size:12.5px;font-weight:700}
.jcr-selection-trigger{position:fixed;z-index:9100;min-height:36px;box-shadow:0 6px 18px rgba(0,30,70,.3);font-size:13px;padding:7px 12px;border-radius:8px}
.jcr-selection-dialog{position:fixed;z-index:9101;width:min(380px,calc(100vw - 16px));max-height:min(480px,65dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--jcr-border);border-radius:14px;background:var(--jcr-surface);color:var(--jcr-text);box-shadow:0 14px 40px rgba(0,30,70,.25);padding:14px}
.jcr-selection-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;color:var(--jcr-blue)}
.jcr-dialog-close{width:34px;min-height:34px;font-size:22px;padding:0}
.jcr-selection-dialog blockquote{margin:0 0 12px;padding:9px 11px;border-left:3px solid var(--jcr-blue);background:var(--jcr-soft);font-size:14px;color:var(--jcr-text);overflow-wrap:anywhere}
.jcr-selection-answer h3{font-size:14px}
.jcr-my-page{max-width:1180px!important;margin:0 auto;padding-top:30px!important;padding-bottom:60px!important;color:var(--jcr-text)}
.jcr-my-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.jcr-my-header h1{font-size:clamp(28px,4vw,40px);margin:0 0 6px;color:var(--jcr-text)}.jcr-my-header p{margin:0;color:var(--jcr-muted)}
.jcr-storage-note{display:flex;gap:9px;align-items:center;padding:11px 15px;border:1px solid var(--jcr-border);border-radius:10px;background:var(--jcr-soft);font-size:13px;color:var(--jcr-muted);margin-bottom:18px}.jcr-storage-note strong{color:var(--jcr-text);flex:none}
.jcr-my-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
.jcr-my-card{background:var(--jcr-surface);border:1px solid var(--jcr-border);padding:19px;border-radius:14px;min-width:0;box-shadow:0 4px 18px rgba(13,56,100,.05)}
.jcr-my-card h2{font-size:18px;line-height:1.4;margin:0 0 5px;color:var(--jcr-text)}.jcr-my-card header p,.jcr-backup p{font-size:13px;color:var(--jcr-muted);margin:0 0 8px}
.jcr-my-card progress{display:block;width:100%;height:13px;accent-color:#0756a0;margin:6px 0 16px}
.jcr-templates{display:flex;flex-wrap:wrap;gap:7px;align-items:center;border-bottom:1px solid var(--jcr-border);padding-bottom:14px;margin-bottom:14px}.jcr-templates span{flex-basis:100%;font-size:13px;font-weight:700;color:var(--jcr-muted)}.jcr-templates button{min-height:34px;font-size:12px}
.jcr-task-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,.55fr) auto;gap:7px;align-items:end;margin-bottom:15px}.jcr-task-form label{font-size:12px;color:var(--jcr-muted);font-weight:700}.jcr-task-form label[for="jcr-task-title"]{grid-column:1;grid-row:1}.jcr-task-form label[for="jcr-task-due"]{grid-column:2;grid-row:1}.jcr-task-form input{grid-row:2}.jcr-task-form button{grid-row:2;min-height:44px}
.jcr-filter{display:flex;gap:7px;margin-bottom:9px}.jcr-filter button[aria-pressed="true"]{background:var(--jcr-blue);color:var(--jcr-surface)!important;border-color:var(--jcr-blue)}
.jcr-empty{padding:14px;background:var(--jcr-soft);border-radius:10px;color:var(--jcr-muted);font-size:13px;line-height:1.6}
.jcr-task,.jcr-saved-row{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-top:1px solid var(--jcr-border)}.jcr-task>input[type="checkbox"]{width:20px;height:20px;flex:none;margin-top:12px;accent-color:#0756a0}.jcr-task-details{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,.65fr);gap:6px}.jcr-task-details input{font-size:13px;padding:8px}.jcr-task-details a{font-size:12px;grid-column:1/-1}.jcr-task-done .jcr-task-details input[type="text"]{text-decoration:line-through;color:var(--jcr-muted)}
.jcr-remove{color:var(--jcr-muted)!important;min-height:34px;padding:5px 9px;font-size:12px}.jcr-remove:hover{color:#9e2536!important;border-color:#e4a9b0}.jcr-saved-row a{font-size:14px;flex:1;min-width:0;line-height:1.55;overflow-wrap:anywhere}.jcr-saved-row button{flex:none}.jcr-backup{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px}.jcr-backup-actions{display:flex;gap:8px;flex-wrap:wrap;position:relative}.jcr-backup-actions:focus-within label{outline:2px solid var(--jcr-blue);outline-offset:2px}
.jcr-my-page>[data-jcr-my-status]{min-height:22px;margin-top:12px}
@media(max-width:760px){.jcr-search{padding:14px;margin:14px 0}.jcr-search-heading{align-items:flex-start}.jcr-search-heading p{font-size:12px}.jcr-my-link{font-size:12px}.jcr-search-form{grid-template-columns:minmax(0,1fr)}.jcr-search-form textarea{font-size:16px}.jcr-search-form .jcr-primary{min-height:42px}.jcr-result-list,.jcr-my-grid{grid-template-columns:minmax(0,1fr)}.jcr-my-header,.jcr-storage-note,.jcr-backup{align-items:flex-start;flex-direction:column}.jcr-my-card{padding:15px}.jcr-task-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.jcr-task-form button{grid-column:1/-1;grid-row:3}.jcr-task-details{grid-template-columns:minmax(0,1fr)}.jcr-task-details input[type="text"]{font-size:16px}.jcr-task-form input{font-size:16px}.jcr-selection-dialog{position:fixed;inset:auto 0 0!important;width:100%;max-height:56dvh;border-radius:16px 16px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}}
@media print{.jcr-article-actions,.jcr-selection-trigger,.jcr-selection-dialog{display:none!important}}

/* Reader discovery and saved-article navigation */
.jcr-article-thumbnail{width:128px;height:86px;object-fit:cover;border-radius:8px;flex:none;display:block;background:var(--jcr-soft)}
.jcr-result .jcr-article-thumbnail{width:124px;height:84px;align-self:flex-start}
.jcr-saved-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.jcr-saved-copy a{font-weight:700;line-height:1.55}
.jcr-saved-category{color:var(--jcr-muted);font-size:11.5px;font-weight:650}
.jcr-saved-row{align-items:center}
.jcr-saved-controls{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px;margin:12px 0}
.jcr-saved-controls input{grid-column:1/-1}
.jcr-saved-controls input,.jcr-saved-controls select{width:100%;min-width:0;box-sizing:border-box;min-height:40px;padding:8px 11px;background:var(--jcr-soft);color:var(--jcr-text);border:1px solid var(--jcr-border);border-radius:8px;font:inherit;font-size:13px}
.jcr-saved-controls input:focus-visible,.jcr-saved-controls select:focus-visible{outline:2px solid var(--jcr-blue);outline-offset:2px}
.jcr-my-saved [data-jcr-saved]{margin-bottom:14px}
.jcr-header-bookmarks{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:#e3a32b;cursor:pointer;font:700 23px/1 system-ui,sans-serif;padding:0}
.jcr-header-bookmarks:hover,.jcr-header-bookmarks[aria-expanded="true"]{background:var(--jcr-soft)}
.jcr-header-bookmarks:focus-visible{outline:2px solid var(--jcr-blue);outline-offset:2px}
.jcr-header-bookmark-count{position:absolute;top:0;right:0;min-width:16px;height:16px;padding:0 3px;border-radius:12px;background:#0756a0;color:white;font:700 10px/16px system-ui,sans-serif;text-align:center}
.jcr-header-bookmark-count[hidden],.jcr-header-bookmark-panel[hidden]{display:none!important}
.jcr-header-bookmark-panel{position:fixed;z-index:10005;width:min(410px,calc(100vw - 16px));max-height:calc(100dvh - 100px);display:flex;flex-direction:column;box-sizing:border-box;background:var(--jcr-surface);border:1px solid var(--jcr-border);border-radius:14px;padding:14px;box-shadow:0 16px 48px rgba(13,56,100,.22);color:var(--jcr-text)}
.jcr-header-bookmark-panel header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.jcr-header-bookmark-panel header h2{font-size:17px;margin:0;color:var(--jcr-text)}
.jcr-header-bookmark-list{min-height:0;overflow:auto;overscroll-behavior:contain}
.jcr-header-bookmark-panel .jcr-saved-row{padding:10px 0}
.jcr-header-bookmark-panel .jcr-article-thumbnail{width:79px;height:55px;border-radius:6px}
.jcr-header-bookmark-panel .jcr-saved-copy a{font-size:13px}
.jcr-header-my-link{margin-top:12px;width:100%;box-sizing:border-box}
.jcr-chat-greeting{position:absolute;bottom:62px;right:0;width:min(300px,calc(100vw - 30px));box-sizing:border-box;border:1px solid var(--jcr-border);border-radius:15px;background:var(--jcr-surface);color:var(--jcr-text);padding:16px 15px 13px;box-shadow:0 10px 32px rgba(13,56,100,.2);line-height:1.55}
.jcr-chat-greeting:after{content:"";position:absolute;right:19px;bottom:-7px;width:13px;height:13px;background:var(--jcr-surface);border-right:1px solid var(--jcr-border);border-bottom:1px solid var(--jcr-border);transform:rotate(45deg)}
.jcr-chat-greeting strong{display:block;color:var(--jcr-text);padding-right:22px;font-size:14px}
.jcr-chat-greeting p{color:var(--jcr-muted);font-size:13px;margin:5px 0 11px}
.jcr-greeting-dismiss{position:absolute;top:8px;right:8px;width:25px;height:25px;border:0;border-radius:50%;background:var(--jcr-soft);color:var(--jcr-text);font-size:18px;cursor:pointer;line-height:1}
.jcr-greeting-ask,.jcr-greeting-voice{border:0;border-radius:8px;min-height:34px;padding:5px 10px;font:inherit;font-weight:700;font-size:12px;line-height:1.5;cursor:pointer}
.jcr-greeting-ask{background:#0756a0;color:#fff}.jcr-greeting-voice{background:var(--jcr-soft);color:var(--jcr-text);margin-left:7px}
.jcr-greeting-ask:focus-visible,.jcr-greeting-voice:focus-visible,.jcr-greeting-dismiss:focus-visible{outline:2px solid var(--jcr-blue);outline-offset:2px}
@media(max-width:760px){.jcr-result .jcr-article-thumbnail{width:86px;height:69px}.jcr-saved-row .jcr-article-thumbnail{width:82px;height:60px}.jcr-header-bookmarks{width:32px;height:32px;font-size:20px}.jcr-header-bookmark-panel{max-height:calc(100dvh - 80px)}.jcr-chat-greeting{bottom:57px;width:min(270px,calc(100vw - 24px));padding:12px}.jcr-saved-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:370px){.jcr-saved-controls{grid-template-columns:1fr}.jcr-result .jcr-article-thumbnail{width:72px;height:64px}.jcr-saved-row .jcr-article-thumbnail{width:64px;height:52px}.jcr-header-bookmarks{width:29px;height:32px;font-size:19px}}
@media print{.jcr-header-bookmarks,.jcr-header-bookmark-panel,.jcr-chat-greeting{display:none!important}}
/* Reserve room for the four header controls even with wider mobile fonts. */
@media(max-width:440px){body .site-header .brand{gap:5px;flex-shrink:1;min-width:0}body .site-header .brand-logo{width:84px;flex-shrink:0}body .site-header .brand-region{font-size:13px;white-space:nowrap}}
@media(max-width:350px){body .site-header .brand-logo{width:72px}body .site-header .brand-region{font-size:12px}body .site-header .header-actions{gap:1px}body .site-header .header-category-trigger{width:38px;min-width:38px}body .site-header .theme-toggle{width:36px;min-width:36px}body .site-header .header-search .search-btn{width:32px;min-width:32px}.jcr-header-bookmarks{width:27px}}

.jcr-account {justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:.95rem}
.jcr-account p {margin:.3rem 0}
.jcr-account p:empty,.jcr-account [hidden] {display:none!important}
.jcr-account [data-account-info] {overflow-wrap:anywhere}
.jcr-account [data-account-controls] {display:flex;flex-wrap:wrap;gap:.5rem}
@media(max-width:600px){.jcr-account {align-items:stretch}}
.jcr-account [data-signin] {display:grid;justify-items:start;gap:.45rem}

/* Account menu and settings share the site's existing theme tokens. */
body .site-header .jcr-profile{position:relative;order:4;flex:none;display:flex;align-items:center}
.jcr-profile-trigger{position:relative;display:grid;place-items:center;width:40px;height:44px;padding:4px;border:0;border-radius:8px;background:transparent;cursor:pointer;color:var(--jcr-text)}
.jcr-profile-avatar,.jcr-profile-preview{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#e2e8ef;color:#667789;width:32px;height:32px;flex:none}
.jcr-profile-avatar img,.jcr-profile-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.jcr-profile-avatar svg,.jcr-profile-preview svg{width:65%;height:65%;fill:currentColor}
.jcr-profile.is-signed-in .jcr-profile-avatar{background:#0756a0;color:white}
.jcr-profile-dot{position:absolute;right:2px;bottom:6px;width:11px;height:11px;border:2px solid var(--jcr-surface);border-radius:50%;background:#22a45b}
.jcr-profile-trigger:hover,.jcr-profile-trigger[aria-expanded="true"]{background:var(--jcr-soft)}
.jcr-profile-trigger:focus-visible,.jcr-profile-menu :focus-visible,.jcr-profile-dialog :focus-visible{outline:2px solid var(--jcr-blue);outline-offset:2px}
.jcr-profile-menu{position:absolute;z-index:11;right:0;top:100%;width:min(270px,calc(100vw - 24px));padding:6px;border:1px solid var(--jcr-border);border-radius:12px;background:var(--jcr-surface);color:var(--jcr-text);box-shadow:0 12px 32px rgba(13,36,64,.2);box-sizing:border-box}
.jcr-profile-menu [hidden],.jcr-profile-menu[hidden],.jcr-profile-dialog [hidden],.jcr-profile-dot[hidden]{display:none!important}
.jcr-profile-menu a,.jcr-profile-menu button{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;text-align:left;background:transparent;color:var(--jcr-text);border:0;border-radius:7px;min-height:42px;padding:9px 10px;font:inherit;font-weight:650;font-size:14px;cursor:pointer;text-decoration:none}
.jcr-profile-menu a:hover,.jcr-profile-menu button:hover{background:var(--jcr-soft);color:var(--jcr-blue)}
.jcr-profile-menu a span,.jcr-profile-menu button span{width:22px;text-align:center;flex:none}
.jcr-profile-identity{padding:10px 12px;border-bottom:1px solid var(--jcr-border);margin-bottom:4px;overflow-wrap:anywhere}
.jcr-profile-identity strong,.jcr-profile-identity small{display:block}
.jcr-profile-identity small{color:var(--jcr-muted);font-size:12px}
.jcr-profile-dialog{color:var(--jcr-text);background:var(--jcr-surface);border:1px solid var(--jcr-border);border-radius:16px;padding:22px;width:min(560px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 24px);box-sizing:border-box;box-shadow:0 18px 64px rgba(13,36,64,.25);overflow:auto;overscroll-behavior:contain}
.jcr-profile-dialog{position:fixed;inset:0;margin:auto;height:fit-content}
.jcr-profile-dialog::backdrop{background:rgba(7,22,42,.55)}
.jcr-otp-divider{border-top:1px solid var(--jcr-border);padding-top:12px;margin:12px 0 5px;font-weight:700}
[data-email-otp] label{display:block;font-weight:600;margin:10px 0 4px}
[data-email-otp] input{display:block;width:100%;min-height:42px;padding:8px 10px;margin-bottom:8px;border:1px solid var(--jcr-border);border-radius:8px;background:var(--jcr-surface);color:var(--jcr-text);font:inherit}
[data-otp-code]{letter-spacing:.25em;font-variant-numeric:tabular-nums}
[data-otp-code-fields] button{margin:4px 5px 0 0}
.jcr-profile-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--jcr-border)}
.jcr-profile-dialog h2{color:var(--jcr-text);font-size:21px;margin:0}
.jcr-profile-dialog h3{color:var(--jcr-text);font-size:16px;margin:0 0 12px}
.jcr-profile-dialog .jcr-profile-panel{display:grid;gap:16px}
.jcr-profile-photo-settings{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--jcr-border)}
.jcr-profile-preview{width:76px;height:76px}
.jcr-profile-photo-settings>div{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
.jcr-profile-photo-settings p{width:100%;margin:0}
.jcr-profile-dialog label:has(+input[type=file]:focus-visible){outline:2px solid var(--jcr-blue);outline-offset:2px}
.jcr-profile-account{display:grid;gap:8px;line-height:1.55;overflow-wrap:anywhere}
.jcr-profile-account [data-account-info]{font-size:14px}
.jcr-profile-account [data-signin] label{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.6}
.jcr-profile-account [data-signin] input{flex:none;margin-top:4px}
.jcr-profile-data{border-top:1px solid var(--jcr-border);padding-top:12px}
.jcr-profile-data summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--jcr-blue)}
.jcr-profile-data button,.jcr-profile-data label{margin:10px 6px 6px 0}
.jcr-profile-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.jcr-profile-themes [aria-pressed=true]{border:2px solid var(--jcr-blue);background:var(--jcr-soft)}
:root[data-theme="dark"] .jcr-profile-avatar,:root[data-theme="dark"] .jcr-profile-preview{background:#354a62;color:#c5d0dc}
:root[data-theme="dark"] .jcr-profile.is-signed-in .jcr-profile-avatar{background:#0756a0;color:white}
@media(max-width:440px){
  body .site-header .header-inner{width:calc(100% - 16px);gap:3px}
  body .site-header .brand{gap:4px}
  body .site-header .brand-logo{width:70px}
  body .site-header .brand-region{font-size:11px}
  body .site-header .header-actions{gap:1px;flex:none}
  body .site-header .header-category-trigger,body .site-header .theme-toggle,body .site-header .header-search .search-btn{width:32px;min-width:32px;flex-basis:32px}
  .jcr-profile-trigger{width:34px;padding:2px}
  .jcr-profile-avatar{width:28px;height:28px}
  .jcr-header-bookmarks{width:28px}
  .jcr-profile-dialog{padding:15px}
}
@media(max-width:350px){
  body .site-header .brand-logo{width:62px}
  body .site-header .brand-region{font-size:10px}
  body .site-header .header-category-trigger,body .site-header .theme-toggle,body .site-header .header-search .search-btn{width:29px;min-width:29px;flex-basis:29px}
  .jcr-header-bookmarks{width:25px}
}
@media print{.jcr-profile,.jcr-profile-dialog{display:none!important}}
