/* My RKALC content: values from ProjectHub's current RKALC visual theme.
   Site.Master remains responsible for the shared header, sidebar and offsets. */
.myrkalc {
    --rk-navy: #0b1220;
    --rk-blue: #145da0;
    --rk-cyan: #12a8c9;
    --rk-green: #00843d;
    --rk-ink: #172033;
    --rk-muted: #64748b;
    --rk-line: #dbe4ef;
    margin: 12px -15px 0;
    color: var(--rk-ink);
    background: radial-gradient(circle at 88% 3%, rgba(20,93,160,.11), transparent 27%), linear-gradient(180deg,#f8fbff 0%,#eef4f9 46%,#fff 100%);
    font: 14px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.myrkalc *, .myrkalc *::before, .myrkalc *::after { box-sizing: border-box; }
.myrkalc [hidden] { display: none !important; }
.myrkalc .myrkalc-content { margin: 0; padding: 28px 48px 30px; min-height: calc(100vh - 100px); }
.myrkalc a { color: var(--rk-blue); text-decoration: none; }
.myrkalc a:hover { color: #0f766e; text-decoration: none; }
.myrkalc button, .myrkalc input { font: inherit; }
.myrkalc button { cursor: pointer; color: var(--rk-ink); }
.myrkalc button, .myrkalc a, .myrkalc input { outline-offset: 4px; }
.myrkalc :focus-visible { outline: 2px solid var(--rk-blue); }
.myrkalc h1, .myrkalc h2, .myrkalc h3 { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; color: var(--rk-navy); font-weight: 700; }
.myrkalc h1 { font-size: clamp(28px,3vw,36px); line-height: 1.08; letter-spacing: -.035em; margin: 8px 0 12px; }
.myrkalc h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.myrkalc h3 { font-size: 16px; line-height: 1.4; margin: 0; }
.myrkalc p { color: var(--rk-muted); font-size: 14px; line-height: 1.65; margin: 0; }
.myrkalc .page-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--rk-blue); }
.myrkalc .page-top span:last-child { color: var(--rk-muted); }
.myrkalc .welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 24px; }
.myrkalc .welcome p:last-child { max-width: 780px; color: #475569; }
/* A contained brand header follows the same edges and rhythm as the workspace cards. */
.myrkalc .personal-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 190px;
    margin: 0 0 24px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #203e59;
    border-radius: 18px;
    background: linear-gradient(115deg,#101e31 0%,#143650 65%,#0f4e59 100%);
    box-shadow: 0 12px 30px rgba(15,35,56,.12);
}
.myrkalc .personal-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: url('../Images/rkalc-wire-city-expanded.png') center 38% / 100% 200% no-repeat;
    mix-blend-mode: screen;
    opacity: .5;
}
.myrkalc .personal-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,rgba(16,30,49,.75) 0%,rgba(17,36,55,.5) 36%,rgba(17,36,55,.12) 68%,rgba(17,36,55,.38) 100%);
}
.myrkalc .personal-hero .welcome { padding: 0; max-width: 65%; }
.myrkalc .personal-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(28px,2.6vw,36px); letter-spacing: -.035em; }
.myrkalc .personal-hero-logo { width: 144px; height: 144px; object-fit: contain; margin: 12px 12px 0 auto; flex-shrink: 0; }
.myrkalc .personal-hero .welcome p { max-width: 500px; color: #d1dfec; font-size: 14px; line-height: 1.7; }
.myrkalc .personal-hero .page-top { position: absolute; top: 20px; right: 24px; }
.myrkalc .personal-hero .page-top span { color: #d1dfec; font-size: 11px; }
.myrkalc .eyebrow { display: block; color: var(--rk-blue); font-size: 11px; letter-spacing: .16em; font-weight: 600; margin: 0 0 8px; }
.myrkalc .button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.myrkalc a.primary, .myrkalc button.primary { color: #fff; background: linear-gradient(135deg,var(--rk-blue),#0f766e); box-shadow: 0 12px 26px rgba(20,93,160,.20); }
.myrkalc .primary:hover { color: #fff; background: linear-gradient(135deg,#174f88,#0d6b64); box-shadow: 0 15px 30px rgba(20,93,160,.25); }
.myrkalc .secondary { color: var(--rk-blue); background: rgba(255,255,255,.88); border: 1px solid rgba(20,93,160,.26); }
.myrkalc .preview-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 16px; margin-bottom: 26px; background: #fff9e2; color: #8a570d; border: 1px solid #efd88d; border-radius: 9px; font-size: 12px; line-height: 1.6; }
.myrkalc .preview-note strong { margin-right: 7px; }
.myrkalc .preview-note button { border: 0; background: transparent; color: #865609; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.myrkalc .content-columns { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.myrkalc .primary-column, .myrkalc .secondary-column { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.myrkalc .panel { min-width: 0; margin: 0; padding: 24px; border: 1px solid rgba(148,163,184,.24); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 14px 38px rgba(15,23,42,.055); scroll-margin-top: 76px; }
.myrkalc .panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 0 0 20px; padding: 0; background: none; border: 0; border-radius: 0; }
.myrkalc .panel-heading .eyebrow { font-size: 10px; }
.myrkalc .text-link { color: var(--rk-blue); font-size: 12px; font-weight: 700; }
.myrkalc .text-link:hover { color: #0f766e; }
.myrkalc .sample-label { font-size: 11px; color: var(--rk-muted); border: 1px solid var(--rk-line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.myrkalc .tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(20,93,160,.12); border-radius: 11px; font: 23px/1 Arial,sans-serif; flex-shrink: 0; }
.myrkalc .green { background: #e7f4eb; color: #00843d; }
.myrkalc .blue { background: #e8f2fb; color: var(--rk-blue); }
.myrkalc .lilac { background: #eeebf4; color: #78628f; }
.myrkalc .resume-card { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; min-height: 146px; padding: 25px 24px; border: 1px solid rgba(148,163,184,.24); border-left: 4px solid var(--rk-blue); border-radius: 16px; background: radial-gradient(circle at 90% 15%,rgba(18,168,201,.14),transparent 35%),linear-gradient(135deg,rgba(255,255,255,.96),rgba(238,244,249,.96)); box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.myrkalc .resume-card:hover { border-color: rgba(20,93,160,.45); }
.myrkalc .resume-card .tool-icon { width: 51px; height: 51px; background: #e8f2fb; color: var(--rk-blue); }
.myrkalc .resume-copy { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.myrkalc .item-meta { color: var(--rk-blue); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.myrkalc .item-meta>span { color: var(--rk-muted); font-weight: 400; letter-spacing: 0; }
.myrkalc .resume-copy>strong { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; color: var(--rk-navy); }
.myrkalc .resume-copy>span:last-child { color: #475569; font-size: 12px; }
.myrkalc .meta-dot { color: #94a3b8; margin: 0 5px; }
.myrkalc .resume-arrow { font-size: 24px; color: var(--rk-blue); margin-left: auto; }
.myrkalc .recent-list { margin-top: 8px; }
.myrkalc .recent-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 19px 0; background: none; border: 0; border-bottom: 1px solid #e8eef5; text-align: left; }
.myrkalc .recent-row:last-child { border-bottom: 0; padding-bottom: 0; }
.myrkalc .recent-app-copy { flex: 1; min-width: 0; }
.myrkalc .recent-app-open { flex-shrink: 0; color: var(--rk-blue); font-size: 12px; font-weight: 700; }
.myrkalc .recent-app small { line-height: 1.8; }
.myrkalc .recent-row:hover strong { color: #0f766e; }
.myrkalc .recent-row strong { display: block; color: var(--rk-blue); font-size: 14px; margin-bottom: 5px; }
.myrkalc .recent-row small { display: block; color: var(--rk-muted); font-size: 12px; }
.myrkalc .row-time { margin-left: auto; color: var(--rk-muted); font-size: 11px; white-space: nowrap; }
.myrkalc .row-time>span { margin-left: 10px; }
.myrkalc .section-footnote { color: var(--rk-muted); font-size: 12px; margin-top: 17px; }
.myrkalc .project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.myrkalc .project-card { min-width: 0; padding: 0; text-align: left; overflow: hidden; border: 1px solid rgba(148,163,184,.24); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.035); }
.myrkalc .project-card:hover { border-color: rgba(20,93,160,.4); }
.myrkalc .project-art { display: block; height: 112px; padding: 8px; color: #6292b6; background: linear-gradient(135deg,#f8fbff,#e4f1f6); }
.myrkalc .project-art svg { width: 100%; height: 100%; display: block; }
.myrkalc .blue-art { background: linear-gradient(135deg,#eef4fb,#e5ecf7); color: #7296bc; }
.myrkalc .project-details { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.myrkalc .project-details>strong { font-size: 19px; line-height: 1.3; color: var(--rk-navy); }
.myrkalc .project-details>span:not(.item-meta) { color: var(--rk-muted); font-size: 12px; }
.myrkalc .project-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.myrkalc .project-bottom>span:last-child { color: var(--rk-blue); font-size: 11px; }
.myrkalc .badge { display: inline-block; padding: 5px 9px; border: 1px solid rgba(148,163,184,.2); border-radius: 999px; font-size: 11px; font-weight: 500; line-height: 1.4; }
.myrkalc .count { padding: 5px 10px; font-size: 12px; border-radius: 8px; background: #e8f2fb; color: var(--rk-blue); }
.myrkalc .small-note { color: var(--rk-muted); font-size: 12px; margin-top: -3px; }
.myrkalc .attention-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #e8eef5; padding: 21px 0; }
.myrkalc .attention-row:last-child { border: 0; padding-bottom: 0; }
.myrkalc .attention-row>span:nth-child(2) { flex: 1; min-width: 0; }
.myrkalc .attention-row>span:last-child { color: var(--rk-blue); }
.myrkalc .attention-row strong { display: block; color: var(--rk-blue); font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.myrkalc .attention-row:hover strong { color: #0f766e; }
.myrkalc .attention-row small { display: block; color: var(--rk-muted); font-size: 12px; line-height: 1.6; }
.myrkalc .attention-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; margin-top: 5px; }
.myrkalc .amber { background: #d39a2d; }
.myrkalc .blue-dot { background: var(--rk-blue); }
.myrkalc .green-dot { background: #00843d; }
.myrkalc .task-type { display: block; color: var(--rk-muted); font-size: 10px; letter-spacing: .07em; margin-bottom: 8px; }
.myrkalc .account-icon { font-size: 28px; color: var(--rk-blue); }
.myrkalc .account-panel>p { font-size: 13px; margin-bottom: 16px; }
.myrkalc .account-row { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-top: 1px solid #e8eef5; font-size: 13px; }
.myrkalc .account-row:last-child { padding-bottom: 0; }
.myrkalc .colleague-description { font-size: 13px; margin-bottom: 14px; }
.myrkalc .colleague-row { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-top: 1px solid #e8eef5; }
.myrkalc .colleague-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #e8f2fb; color: var(--rk-blue); font-size: 11px; font-weight: 700; }
.myrkalc .colleague-copy { flex: 1; min-width: 0; }
.myrkalc .colleague-copy strong { display: block; font-size: 13px; color: var(--rk-navy); overflow-wrap: anywhere; }
.myrkalc .colleague-copy small { display: block; font-size: 11px; color: var(--rk-muted); margin-top: 4px; overflow-wrap: anywhere; }
.myrkalc .colleague-message { flex-shrink: 0; padding: 6px 9px; border: 1px solid #cbdcf0; border-radius: 8px; color: var(--rk-blue); font-size: 11px; font-weight: 700; }
.myrkalc .colleague-message:hover { border-color: var(--rk-blue); background: #f0f7fc; }
.myrkalc .colleagues-empty { padding: 16px 0 20px; }
.myrkalc .colleagues-empty strong { font-size: 14px; color: var(--rk-blue); }
.myrkalc .colleagues-empty p { font-size: 13px; margin-top: 7px; }
.myrkalc .learning-card { display: block; padding: 25px; border: 1px solid rgba(148,163,184,.24); border-radius: 18px; background: radial-gradient(circle at 90% 15%,rgba(18,168,201,.12),transparent 65%),linear-gradient(135deg,#f8fbff,#eef4f9); box-shadow: 0 14px 38px rgba(15,23,42,.055); }
.myrkalc .learning-card .eyebrow { font-size: 10px; }
.myrkalc .learning-card h2 { font-size: 24px; line-height: 1.3; margin: 15px 0 12px; }
.myrkalc .learning-card p { font-size: 13px; margin-bottom: 20px; }
.myrkalc .empty-content { text-align: center; padding: 38px 16px; }
.myrkalc .empty-symbol { display: block; color: var(--rk-blue); font-size: 32px; margin-bottom: 14px; }
.myrkalc .empty-content p { max-width: 350px; font-size: 13px; margin: 12px auto 20px; }
.myrkalc .no-results { padding: 35px; text-align: center; }
.myrkalc .page-footer { color: var(--rk-muted); font-size: 11px; padding: 25px 0 0; }
.myrkalc .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.myrkalc .toast { display: block; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); opacity: 1; z-index: 1100; max-width: 90vw; padding: 15px 23px; background: #111827; color: #fff; border-radius: 10px; box-shadow: 0 14px 35px #17203330; font-size: 13px; }
.myrkalc dialog { width: calc(100% - 32px); max-width: 480px; max-height: 85vh; overflow-y: auto; padding: 32px; border: 1px solid var(--rk-line); border-radius: 18px; color: var(--rk-ink); box-shadow: 0 25px 70px #143b5640; }
.myrkalc dialog::backdrop { background: #102f4d66; }
.myrkalc dialog h2 { margin: 16px 0; }
.myrkalc dialog p { font-size: 14px; margin-bottom: 25px; }
.myrkalc .dialog-close { position: absolute; right: 12px; top: 8px; background: none; border: 0; color: var(--rk-muted); font-size: 26px; }
@media (max-width: 1250px) {
    .myrkalc .myrkalc-content { padding: 28px; }
    .myrkalc .personal-hero { padding: 30px 28px; }
    .myrkalc .content-columns { grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr); gap: 20px; }
    .myrkalc .row-time { display: none; }
    .myrkalc .resume-copy>strong { font-size: 20px; }
    .myrkalc .project-grid { gap: 12px; }
    .myrkalc .project-details { padding: 16px; }
    .myrkalc .project-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1000px) {
    .myrkalc .content-columns { grid-template-columns: minmax(0,1fr); }
    .myrkalc .secondary-column { display: grid; grid-template-columns: 1fr 1fr; }
    .myrkalc #attention { grid-column: 1/-1; }
}
@media (max-width: 650px) {
    .myrkalc .myrkalc-content { padding: 24px 15px; }
    .myrkalc .personal-hero { margin: 0 0 22px; padding: 64px 22px 26px; min-height: 230px; border-radius: 15px; }
    .myrkalc .personal-hero .welcome { max-width: 100%; }
    .myrkalc .personal-hero .welcome p { max-width: 36ch; }
    .myrkalc .personal-hero .page-top { top: 16px; right: 20px; }
    .myrkalc .personal-hero-logo { position: absolute; top: 42px; right: 20px; width: 84px; height: 84px; margin: 0; }
    .myrkalc .personal-hero::before { background-size: auto 200%; background-position: 58% 38%; opacity: .3; }
    .myrkalc .personal-hero h1 { padding-right: 95px; margin-bottom: 40px; }
    .myrkalc .welcome { flex-direction: column; align-items: stretch; gap: 20px; }
    .myrkalc .panel { padding: 20px 16px; border-radius: 15px; }
    .myrkalc .panel-heading { gap: 12px; }
    .myrkalc .panel-heading .eyebrow { font-size: 9px; }
    .myrkalc .panel-heading h2 { font-size: 19px; }
    .myrkalc .preview-note { align-items: flex-start; gap: 10px; font-size: 11px; }
    .myrkalc .preview-note strong { display: block; }
    .myrkalc .preview-detail { display: none; }
    .myrkalc .preview-note button { font-size: 11px; white-space: normal; }
    .myrkalc .secondary-column { display: flex; }
    .myrkalc .resume-card { padding: 20px 14px; gap: 12px; }
    .myrkalc .resume-card .tool-icon { display: none; }
    .myrkalc .resume-copy>strong { font-size: 21px; }
    .myrkalc .item-meta { font-size: 10px; }
    .myrkalc .resume-copy>span:last-child { font-size: 12px; }
    .myrkalc .sample-label { font-size: 10px; }
    .myrkalc .recent-row strong { font-size: 13px; }
    .myrkalc .recent-row small { font-size: 11px; }
    .myrkalc .project-grid { grid-template-columns: 1fr; }
    .myrkalc .project-art { height: 100px; }
    .myrkalc .project-bottom { flex-direction: row; }
    .myrkalc .page-top span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .myrkalc *, .myrkalc *::before, .myrkalc *::after { scroll-behavior: auto; transition: none; }
}

/* Personal sticky-note board: a warm paper surface within the RKALC theme. */
.myrkalc .notes-panel .panel-heading { align-items: flex-start; margin-bottom: 12px; }
.myrkalc .notes-panel h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.myrkalc .notes-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; padding: 0 6px; background: #fff0a8; border: 1px solid #f1d77d; color: #806021; border-radius: 7px; font-size: 12px; font-weight: 700; }
.myrkalc .note-add { flex-shrink: 0; border: 1px solid #d7b44d; border-radius: 8px; background: #fff4bd; color: #75551a; padding: 8px 10px; font-size: 12px; font-weight: 700; }
.myrkalc .note-add:hover { background: #ffed96; }
.myrkalc .notes-intro { font-size: 13px; line-height: 1.6; }
.myrkalc .note-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0; border-bottom: 1px solid #e8eef5; padding-bottom: 9px; }
.myrkalc .note-tab { border: 0; border-radius: 7px; padding: 6px 10px; color: #64748b; background: transparent; font-size: 12px; }
.myrkalc .note-tab.active { color: #145da0; background: #eaf3fc; font-weight: 700; }
.myrkalc .note-list { display: grid; gap: 16px; }
.myrkalc .sticky-note { position: relative; border: 1px solid #eedc9a; border-radius: 3px 12px 12px 12px; background: linear-gradient(120deg,#fff9d7,#fff3b6); padding: 21px 19px 13px; box-shadow: 0 5px 12px rgba(118,91,20,.065); min-width: 0; overflow-wrap: anywhere; }
.myrkalc .sticky-note::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: #dfb94a; border-radius: 3px 0 0 12px; }
.myrkalc .sticky-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.myrkalc .sticky-author { color: #896a28; font-size: 10px; letter-spacing: .07em; font-weight: 700; }
.myrkalc .sticky-example { font-size: 10px; color: #9b824a; font-style: italic; }
.myrkalc .sticky-note .sticky-body { white-space: pre-wrap; font-size: 15px; line-height: 1.6; color: #51421f; margin: 10px 0 13px; }
.myrkalc .sticky-time { display: block; color: #958451; font-size: 10px; }
.myrkalc .sticky-actions { display: flex; gap: 15px; align-items: center; padding-top: 12px; margin-top: 13px; border-top: 1px solid rgba(152,117,30,.17); }
.myrkalc .note-action { border: 0; background: transparent; padding: 4px 0; color: #7b622c; font-size: 12px; }
.myrkalc .note-action:hover { color: #145da0; text-decoration: underline; }
.myrkalc .note-complete { font-weight: 700; color: #477041; }
.myrkalc .note-dismiss { margin-left: auto; color: #927e50; font-size: 11px; }
.myrkalc .sticky-note.is-done { background: #f4f5eb; border-color: #dce3cb; }
.myrkalc .sticky-note.is-done::before { background: #92a775; }
.myrkalc .sticky-note.is-done .sticky-body { text-decoration: line-through; color: #7a826b; }
.myrkalc .notes-preview-label { font-size: 10px; line-height: 1.7; color: #8b96a5; margin-top: 17px; }
.myrkalc .notes-empty { text-align: center; padding: 27px 10px; }
.myrkalc .notes-empty-icon { display: grid; place-items: center; margin: 0 auto 12px; height: 38px; width: 38px; background: #fff3b6; border-radius: 9px; color: #967024; font-size: 22px; }
.myrkalc .notes-empty strong { display: block; font-size: 14px; color: #172033; }
.myrkalc .notes-empty p { font-size: 12px; margin: 8px 0 0; }
.myrkalc .colleague-name { display: block; border: 0; background: transparent; padding: 0; color: #145da0; text-align: left; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.myrkalc .colleague-name:hover { text-decoration: underline; }
.myrkalc .colleague-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; flex-shrink: 0; max-width: 115px; }
.myrkalc button.colleague-message { background: #fff8da; border-color: #e7d396; color: #806021; font-weight: 700; }
.myrkalc .note-dialog { max-width: 520px; }
.myrkalc .note-dialog h2 { margin-bottom: 22px; }
.myrkalc .note-label { display: block; margin: 18px 0 8px; color: #334155; font-size: 12px; font-weight: 700; }
.myrkalc .note-input { display: block; width: 100%; max-width: none; border: 1px solid #cbdcf0; padding: 12px; border-radius: 9px; font: inherit; color: #172033; background: #fff; }
.myrkalc textarea.note-input { resize: vertical; min-height: 90px; }
.myrkalc .note-paper-input { background: #fffbed; border-color: #e8d797; font-size: 15px; line-height: 1.6; }
.myrkalc .note-character-count { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: #8a95a3; font-size: 10px; }
.myrkalc #note-compose-error, .myrkalc .note-error { color: #a43f2a; font-size: 12px; }
.myrkalc .note-error:empty { display: none; }
.myrkalc .note-dialog .note-dialog-preview { margin: 18px 0; padding: 10px 12px; border: 1px solid #f0e3b2; border-radius: 7px; background: #fffae8; font-size: 11px; color: #8c713b; }
.myrkalc .note-dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 20px; }
.myrkalc .note-cancel { border: 0; background: transparent; padding: 10px 0; font-size: 12px; color: #64748b; }
.myrkalc .note-reply-entry { padding: 15px 5px; border-bottom: 1px solid #e8eef5; }
.myrkalc .note-reply-entry strong { font-size: 11px; color: #145da0; }
.myrkalc .note-dialog .note-reply-entry p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; margin: 5px 0 0; }
@media (max-width: 650px) {
    .myrkalc .colleague-actions { flex-direction: column; }
    .myrkalc .note-dialog { padding: 28px 19px 20px; }
    .myrkalc .note-dialog-actions { gap: 13px; }
    .myrkalc .note-dialog-actions .button { white-space: normal; padding: 12px; }
}

/* Keep the personal page compact; longer note boards scroll after two cards. */
.myrkalc .page-top { justify-content: flex-end; }
.myrkalc .note-list { max-height: 436px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; grid-auto-rows: 210px; padding-right: 5px; }
.myrkalc .note-list .sticky-note { display: flex; flex-direction: column; height: 210px; padding: 17px 16px 12px; }
.myrkalc .note-list .sticky-meta { flex-shrink: 0; margin-bottom: 8px; }
.myrkalc .note-list .sticky-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 14px; line-height: 1.5; margin: 0 0 9px; }
.myrkalc .note-list .sticky-actions { margin-top: auto; padding-top: 9px; }
.myrkalc .sticky-new { padding: 2px 7px; border-radius: 5px; background: #f5dc80; color: #6d5016; font-size: 10px; font-weight: 700; }
.myrkalc .notes-status { margin: 0 0 12px; font-size: 12px; color: #64748b; }
.myrkalc .notes-status:empty { display: none; }
.myrkalc .notes-status.is-error { color: #a43f2a; padding: 10px; border: 1px solid #edcdbd; border-radius: 8px; background: #fff6f0; }
.myrkalc button:disabled { opacity: .55; cursor: default; }
.myrkalc .text-button { border: 0; background: none; padding: 0; }


/* Direct RKALComm composer inside the personal workspace. */
.myrkalc .message-launch-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #e8eef5; padding-top: 17px; margin-top: 5px; }
.myrkalc .message-dialog { max-width: 620px; }
.myrkalc .message-dialog>p { font-size: 13px; }
.myrkalc .message-dialog textarea { min-height: 180px; }
.myrkalc .message-help { margin: 17px 0 0; color: #64748b; font-size: 11px; }
.myrkalc .message-delivery-status { margin-top: 13px; color: #13714a; font-size: 12px; }
.myrkalc .message-delivery-status:empty { display: none; }
.myrkalc .message-delivery-status.is-warning { color: #976321; }
.myrkalc #message-error { margin: 0; }
.myrkalc button.colleague-direct-message { background: white; color: var(--rk-blue); border-color: #cbdcf0; }
@media(max-width:650px) { .myrkalc .message-dialog { padding: 27px 18px 20px; } }

/* Live Project Hub cards use real project metadata and authorised workspace links. */
.myrkalc a.live-project { display: flex; flex-direction: column; color: var(--rk-ink); }
.myrkalc .project-reference { padding: 15px 20px; border-bottom: 1px solid #e1eaf3; background: linear-gradient(135deg,#f8fbff,#e5f0f8); color: var(--rk-blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.myrkalc .live-project .project-details { flex: 1; }
.myrkalc .live-project .project-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.6; }
.myrkalc .live-project .project-bottom { margin-top: auto; padding-top: 13px; }

/* Saved database tables use compact rows inside the existing RKALC panel. */
.myrkalc .saved-tables-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 22px; }
.myrkalc .saved-tables-group { min-width: 0; }
.myrkalc .saved-tables-group h3 { margin: 4px 0 10px; color: var(--rk-muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.myrkalc .saved-tables-group ul { margin: 0; padding: 0; list-style: none; }
.myrkalc .saved-tables-group li + li { border-top: 1px solid #e8eef5; }
.myrkalc .saved-tables-group a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 11px 8px; border-radius: 7px; color: var(--rk-blue); font-size: 13px; line-height: 1.5; }
.myrkalc .saved-tables-group a:hover { background: #eef5fb; }
.myrkalc .saved-tables-group a:focus-visible { outline: 2px solid var(--rk-blue); outline-offset: 2px; background: #eef5fb; }
.myrkalc .saved-tables-group a > span:last-child { color: var(--rk-green); flex-shrink: 0; }
