/* Special Pins (Story 5564) -- pins that follow a rule, so they always open the
   current record (e.g. this week's Weekend Agenda). */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F2F2F4; color: #222;
    font-family: "Segoe UI", system-ui, sans-serif; }

/* Full-height shell: only .sp-body scrolls, so the icon band and the black
   header stay pinned at the top. */
.page-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
#lwIconBand, .ct-header { flex: 0 0 auto; }

.ct-header {
    background: #3C3C3C; color: #fff; padding: 10px 16px;
    display: flex; align-items: center; gap: 12px;
}
.ct-header h1 { margin: 0; font-size: 14pt; font-weight: 600; flex: 1; }

.sp-body { flex: 1; overflow: auto; padding: 16px; }
.sp-status { font-size: 12px; color: #777; margin-bottom: 12px; min-height: 14px; }
.sp-status.sp-error { color: #B42318; font-size: 14px; }

.sp-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }

.sp-card {
    background: #fff; border: 1px solid #E2E2E8; border-left: 4px solid #4F46E5;
    border-radius: 10px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 6px;
}
.sp-card.sp-none { border-left-color: #B0B0B8; }
.sp-title { font-size: 16px; font-weight: 700; }
.sp-detail { font-size: 13px; color: #666; }
.sp-now { font-size: 14px; }
.sp-now a { color: #3730A3; font-weight: 600; text-decoration: none; }
.sp-now a:hover { text-decoration: underline; }
.sp-now .sp-nothing { color: #777; font-style: italic; }

.sp-actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.sp-actions button {
    font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 6px;
    border: 1px solid #C9C9D3; background: #fff; color: #222; cursor: pointer;
}
.sp-actions button.sp-open { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.sp-actions button.sp-open:disabled { background: #B0B0B8; border-color: #B0B0B8; cursor: default; }
.sp-actions button.sp-ql.sp-lit { background: #FEF3C7; border-color: #F59E0B; }
