.pt-welcome{margin:14px 0 18px;padding:16px;border:1px solid #cfe3d8;border-radius:14px;background:#f5faf7;overflow-wrap:anywhere}.pt-shell .pt-welcome h2{font-size:18px;line-height:1.5;margin:8px 0}.pt-welcome p{margin:10px 0;line-height:1.75}.pt-shell .pt-welcome-details{margin:12px 0;padding:10px 12px;background:#fff}.pt-welcome h3{font-size:14px;margin:12px 0 6px}.pt-welcome ul{padding-left:20px;margin:6px 0}.pt-welcome li{margin:5px 0}.pt-welcome-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.pt-welcome-actions a.pt-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border-radius:9px;text-decoration:none}.pt-welcome-actions>a:not(.pt-primary){font-size:13px;text-underline-offset:3px}.pt-welcome .pt-welcome-note{font-size:12px;color:#52665d;margin-bottom:0}#pt-feedback{scroll-margin-top:18px}@media(max-width:380px){.pt-welcome{padding:13px}.pt-shell .pt-welcome h2{font-size:17px}.pt-welcome-actions{gap:10px}}
.pt-shell details.pt-welcome{padding:14px 16px;background:#f5faf7;border-color:#cfe3d8}.pt-welcome>summary{font-size:16px;line-height:1.6}.pt-welcome-body{padding-top:12px}.pt-notice-bulk{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pt-notice-bulk button{font-size:12px;padding:8px 12px}.pt-notice-bulk-help{font-size:12px;color:#60717a;margin:6px 0 12px}

.pt-notice-row{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;align-items:start;margin:12px 0}.pt-notice-row>.pt-card{margin:0}.pt-notice-select{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;padding:8px 4px;font-size:11px;color:#52665d;cursor:pointer}.pt-shell .pt-notice-select input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0}.pt-notice-selected-count{align-self:center;font-size:12px;color:#52665d;width:100%}.pt-notice-row .pt-card summary{overflow-wrap:anywhere}.pt-notice-select:has(input:checked){background:#e7f5ee;border-radius:9px}.pt-notice-select:has(input:focus-visible){outline:2px solid #177653;outline-offset:2px}

/* Compact selection toolbar; keep touch targets at least 40px. */
.pt-shell .pt-notice-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0 4px}.pt-shell .pt-notice-bulk button{flex:0 0 auto;min-height:40px;padding:6px 9px;font-size:12px;line-height:1.3;border-radius:8px}.pt-shell .pt-notice-selected-count{width:auto;flex:0 0 auto;font-size:11px;margin-left:auto;white-space:nowrap}.pt-shell details.pt-notice-bulk-help{padding:0;margin:3px 0 10px;border:0;border-radius:0;background:transparent;color:#60717a;font-size:11px}.pt-notice-bulk-help>summary{font-size:11px;font-weight:400;width:fit-content;min-height:28px;display:flex;align-items:center;gap:5px;cursor:pointer}.pt-notice-bulk-help>summary::after{content:'⌄';font-size:14px}.pt-notice-bulk-help[open]>summary::after{content:'⌃'}.pt-notice-bulk-help>p{margin:4px 0 8px;font-size:11px;line-height:1.6}.pt-notice-bulk-help>summary::-webkit-details-marker{display:none}.pt-notice-bulk-help>summary{list-style:none}

/* Reading uses full width; checkboxes appear only in selection mode. */
#pt-notices:not(.is-selecting) .pt-notice-row{display:block}#pt-notices:not(.is-selecting) .pt-notice-select{display:none}#pt-notices.is-selecting .pt-notice-row{grid-template-columns:38px minmax(0,1fr);gap:6px}#pt-notices.is-selecting .pt-notice-select{padding:8px 2px}.pt-notice-mode-bar{display:flex;justify-content:flex-end;margin:6px 0}.pt-shell .pt-notice-mode-bar button{min-height:36px;padding:6px 10px;font-size:12px;line-height:1.3;border-radius:8px}.pt-shell #pt-notice-toolbar[hidden],.pt-shell #pt-notice-operation-help[hidden]{display:none!important}

/* One-line Japanese welcome heading, sized like notice titles. */
.pt-shell details.pt-welcome{padding:12px}.pt-welcome>summary{display:flex;align-items:center;gap:6px;list-style:none;font-size:14px;line-height:1.5;font-weight:750}.pt-welcome>summary::-webkit-details-marker{display:none}.pt-welcome>summary::before{content:'▶';flex:0 0 9px;font-size:9px;line-height:1}.pt-welcome[open]>summary::before{content:'▼'}html[lang=ja] .pt-welcome>summary{white-space:nowrap;font-size:clamp(11px,calc(4.76vw - 4.2px),14px)}

/* Keep category, unread filter and selection entry on one line. */
.pt-shell .pt-notice-filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;margin:10px 0 8px}.pt-notice-filter-row #pt-notice-filter{width:100%;min-width:0;min-height:40px;font-size:12px}.pt-notice-filter-row>label{gap:4px;white-space:nowrap;font-size:12px;margin:0}.pt-notice-filter-row input[type=checkbox]{margin:0}.pt-notice-filter-row .pt-notice-mode-bar{margin:0;min-width:0}.pt-shell .pt-notice-filter-row .pt-notice-mode-bar button{min-height:40px;padding:6px 8px;font-size:11px;white-space:nowrap}@media(max-width:350px){.pt-shell .pt-notice-filter-row{gap:5px}.pt-notice-filter-row>label{font-size:11px}.pt-shell .pt-notice-filter-row .pt-notice-mode-bar button{padding:6px}}
