/*
 * DC360 Help panel. Everything is scoped under .dc360help-* and resets the properties site templates
 * commonly set on buttons, lists and headings, so it looks the same on Joomla and lesson pages.
 * System fonts only; no outside assets.
 */
.dc360help-tab,
.dc360help-panel {
    --dch-navy: #23324f;
    --dch-navy-2: #2f4369;
    --dch-accent: #f5a623;
    --dch-green: #2e9d62;
    --dch-blue: #1d5fd1;
    --dch-text: #1f2937;
    --dch-muted: #5b6475;
    --dch-line: #e3e7ee;
    --dch-soft: #f4f6fa;
    --dch-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
    font-family: var(--dch-font);
    line-height: 1.45;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
}

.dc360help-tab *,
.dc360help-panel * {
    box-sizing: border-box;
}

/* ---------- the Help tab on the right edge ---------- */

.dc360help-tab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 2147482000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 12px 8px;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: var(--dch-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -2px 4px 14px rgba(15, 23, 42, .25);
    transform: translateY(-50%);
    transition: padding-right .15s ease, background .15s ease;
}

.dc360help-tab:hover,
.dc360help-tab:focus-visible {
    padding-right: 12px;
    background: var(--dch-navy-2);
}

.dc360help-tab:focus-visible {
    outline: 3px solid var(--dch-accent);
    outline-offset: 2px;
}

.dc360help-tab svg {
    color: var(--dch-accent);
}

.dc360help-tab__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1;
}

.dc360help-is-open .dc360help-tab {
    display: none;
}

/* ---------- the panel ---------- */

.dc360help-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2147482001;
    display: flex;
    flex-direction: column;
    width: 420px;
    max-width: 100vw;
    margin: 0;
    border-left: 1px solid var(--dch-line);
    background: #fff;
    color: var(--dch-text);
    font-size: 15px;
    text-align: left;
    box-shadow: -8px 0 30px rgba(15, 23, 42, .22);
    animation: dc360help-in .18s ease-out;
}

.dc360help-panel[hidden] {
    display: none;
}

@keyframes dc360help-in {
    from { transform: translateX(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .dc360help-panel { animation: none; }
    .dc360help-tab { transition: none; }
}

.dc360help-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 12px 18px;
    background: var(--dch-navy);
    color: #fff;
}

.dc360help-title {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-family: var(--dch-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.dc360help-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.dc360help-iconbtn:hover,
.dc360help-iconbtn:focus-visible {
    background: rgba(255, 255, 255, .14);
}

.dc360help-iconbtn:focus-visible,
.dc360help-item:focus-visible,
.dc360help-go:focus-visible,
.dc360help-vote:focus-visible,
.dc360help-topic__name:focus-visible {
    outline: 3px solid var(--dch-accent);
    outline-offset: 2px;
}

.dc360help-iconbtn[hidden] {
    display: none;
}

/* ---------- ask a question ---------- */

.dc360help-ask {
    margin: 0;
    padding: 12px 16px;
    border-bottom: 1px solid var(--dch-line);
    background: var(--dch-navy);
}

.dc360help-ask__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    color: var(--dch-muted);
}

.dc360help-ask__input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dch-text);
    font-family: var(--dch-font);
    font-size: 15px;
    box-shadow: none;
    outline: none;
}

.dc360help-ask__field:focus-within {
    box-shadow: 0 0 0 3px var(--dch-accent);
}

.dc360help-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--dch-line);
    background: #fff8e8;
    font-size: 13px;
}

.dc360help-preview[hidden] {
    display: none;
}

.dc360help-preview label {
    margin: 0;
    font-weight: 600;
}

.dc360help-preview__select {
    width: auto;
    height: auto;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid var(--dch-line);
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
}

/* ---------- content ---------- */

.dc360help-body {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px 16px 24px;
    overscroll-behavior: contain;
}

.dc360help-section {
    margin: 14px 0 0;
}

.dc360help-h {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    color: var(--dch-navy);
    font-family: var(--dch-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dc360help-h svg {
    color: var(--dch-accent);
}

.dc360help-h--small {
    margin-top: 18px;
}

.dc360help-where {
    margin: -4px 0 8px;
    color: var(--dch-muted);
    font-size: 13px;
}

.dc360help-muted {
    margin: 6px 0;
    color: var(--dch-muted);
    font-size: 14px;
}

.dc360help-loading {
    padding: 18px 0;
}

.dc360help-error {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    background: #fdecec;
    color: #8a1c1c;
}

.dc360help-empty {
    margin: 14px 0 4px;
    font-weight: 600;
}

/* 2026-10-19: a caring answer (safeguarding), and the character's answer to a chat or a lesson question. */
.dc360help-care,
.dc360help-talk {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.45;
}

.dc360help-care {
    background: #fff4e5;
    border: 2px solid #f0a020;
    color: #3d2a00;
    font-weight: 600;
}

.dc360help-talk {
    background: #eef6ff;
    border: 1px solid #b9d7f5;
    color: #12324f;
}

.dc360help-care p,
.dc360help-talk p {
    margin: 0;
}

.dc360help-talk__go {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dc360help-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dc360help-list li {
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.dc360help-list li::before {
    content: none;
}

.dc360help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--dch-line);
    border-radius: 10px;
    background: #fff;
    color: var(--dch-text);
    font-family: var(--dch-font);
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.dc360help-item:hover {
    border-color: #c5cede;
    background: var(--dch-soft);
}

.dc360help-item > svg {
    flex: none;
    color: var(--dch-muted);
}

.dc360help-item__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dc360help-item__title {
    font-weight: 600;
}

.dc360help-item__summary {
    color: var(--dch-muted);
    font-size: 13px;
}

.dc360help-section--page .dc360help-item {
    border-left: 4px solid var(--dch-accent);
}

/* Popular questions and Browse by topic sit in their own coloured boxes, so they read as separate from the
   help for the page the student is on (user request 2026-10-11). */
.dc360help-section--page,
.dc360help-section--popular,
.dc360help-section--topics {
    margin-top: 18px;
    padding: 12px 12px 8px;
    border-radius: 14px;
}

/* 1.3.8 (user 2026-10-16): Help for this page gets its own colour, light purple (not used anywhere else). */
.dc360help-section--page {
    border: 1px solid #ddd0f5;
    background: #f4effd;
}

.dc360help-panel .dc360help-section--page .dc360help-h,
.dc360help-panel .dc360help-section--page .dc360help-h > svg {
    color: #5b3a9e;
}

/* 1.3.11: "Your grades" (a unit named in the question), with Go now to its results. Light teal, its own colour. */
.dc360help-units {
    margin: 0 0 16px;
    padding: 12px 12px 4px;
    border: 1px solid #b9e3e0;
    border-radius: 14px;
    background: #e8f7f6;
}

.dc360help-panel .dc360help-units .dc360help-h {
    color: #0f6b66;
}

.dc360help-unit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
}

.dc360help-unit__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dc360help-unit__text span {
    color: var(--dch-muted);
    font-size: 13px;
}

.dc360help-unit__go,
.dc360help-unit__go:visited {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 14px;
}

.dc360help-section--popular {
    border: 1px solid #f3dfa6;
    background: #fff7e0;
}

.dc360help-panel .dc360help-section--popular .dc360help-h,
.dc360help-panel .dc360help-section--popular .dc360help-h > svg {
    color: #8a5a00;
}

.dc360help-section--topics {
    border: 1px solid #cfe0fb;
    background: #eaf2ff;
}

.dc360help-panel .dc360help-section--topics .dc360help-h,
.dc360help-panel .dc360help-section--topics .dc360help-h > svg {
    color: #1d4f9e;
}

.dc360help-section--popular .dc360help-item,
.dc360help-section--topics .dc360help-topic {
    border-color: rgba(0, 0, 0, .08);
}

.dc360help-topic {
    margin: 0 0 6px;
    border: 1px solid var(--dch-line);
    border-radius: 10px;
    background: #fff;
}

.dc360help-topic__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.dc360help-topic__name::-webkit-details-marker {
    display: none;
}

.dc360help-topic[open] .dc360help-topic__name {
    border-bottom: 1px solid var(--dch-line);
}

.dc360help-topic .dc360help-list {
    padding: 8px;
}

.dc360help-count {
    min-width: 24px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--dch-soft);
    color: var(--dch-muted);
    font-size: 12px;
    text-align: center;
}

/* ---------- article ---------- */

.dc360help-article {
    padding-top: 10px;
}

.dc360help-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.dc360help-badge--teacher {
    background: #e6efff;
    color: #1d4fa8;
}

.dc360help-badge--admin {
    background: #fde9e9;
    color: #9b1c1c;
}

.dc360help-article__title {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    color: var(--dch-navy);
    font-family: var(--dch-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.dc360help-article__summary {
    margin: 0 0 12px;
    color: var(--dch-text);
    font-size: 15px;
}

.dc360help-action {
    margin: 0 0 14px;
}

.dc360help-go,
.dc360help-go:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--dch-green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(46, 157, 98, .35);
}

.dc360help-go:hover {
    background: #24844f;
    color: #fff;
    text-decoration: none;
}

/* ---------- live widget: Now / After previews from an app open on the page ---------- */

.dc360help-live {
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid var(--dch-line);
    border-radius: 12px;
    background: var(--dch-soft);
}

.dc360help-live__note {
    margin: 4px 0 10px;
    color: var(--dch-muted);
    font-size: 13px;
}

.dc360help-live__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}

.dc360help-live__grid--pair {
    grid-template-columns: 1fr 1fr;
}

.dc360help-live__fig {
    margin: 0;
    padding: 0;
    text-align: center;
}

.dc360help-live__fig canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--dch-line);
    border-radius: 8px;
    /* checkerboard so see-through parts show as see-through */
    background-color: #fff;
    background-image: linear-gradient(45deg, #e8ebf0 25%, transparent 25%, transparent 75%, #e8ebf0 75%),
        linear-gradient(45deg, #e8ebf0 25%, transparent 25%, transparent 75%, #e8ebf0 75%);
    background-position: 0 0, 8px 8px;
    background-size: 16px 16px;
}

.dc360help-live__fig figcaption {
    margin: 4px 0 0;
    color: var(--dch-text);
    font-size: 13px;
    font-weight: 700;
}

button.dc360help-live__apply {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

button.dc360help-live__apply:disabled {
    opacity: .5;
    cursor: default;
    box-shadow: none;
}

.dc360help-live--action .dc360help-live__note {
    margin: 0 0 10px;
}

.dc360help-live--action .dc360help-live__note:empty {
    display: none;
}

/* ---------- card for what the student just clicked in an app (dc360Help.suggest) ---------- */

.dc360help-locked {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #f0c36d;
    background: #fff8e8;
    color: #6b4a00;
    font-weight: 600;
}

.dc360help-context-slot {
    flex-shrink: 0;
    padding: 10px 16px 4px;
}

.dc360help-context-slot[hidden] {
    display: none;
}

.dc360help-context__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

button.dc360help-context__hide {
    margin: -4px -2px 0 0;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #1f6b35;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* 1.3.8 (user 2026-10-16): "What you just clicked/chose" is light green, so it no longer looks like Popular
   questions (light orange). */
.dc360help-context {
    margin: 0;
    padding: 10px;
    border: 2px solid #7cc591;
    border-radius: 12px;
    background: #eaf8ee;
}

.dc360help-context__label {
    display: block;
    margin: 0 0 6px;
    color: #1f6b35;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

button.dc360help-context__open {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--dch-text);
    font: inherit;
    text-align: left;
    white-space: normal;
    min-width: 0;
    cursor: pointer;
}

button.dc360help-context__open strong {
    font-size: 15px;
}

button.dc360help-context__open span {
    grid-column: 1;
    color: var(--dch-muted);
    font-size: 13px;
}

button.dc360help-context__open svg {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    fill: currentColor;
}

button.dc360help-context__open:hover strong {
    text-decoration: underline;
}

.dc360help-live__slider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--dch-text);
}

.dc360help-live__slider label {
    font-weight: 700;
}

.dc360help-live__slider input[type="range"] {
    flex: 1;
    min-width: 0;
    accent-color: var(--dch-green);
}

.dc360help-live__slider input[type="number"] {
    width: 64px;
    padding: 4px 6px;
    border: 1px solid var(--dch-line);
    border-radius: 6px;
    font: inherit;
}

.dc360help-live__content {
    margin: 0 0 12px;
    color: var(--dch-text);
    font-size: 14px;
}

.dc360help-live__content ul {
    margin: 0 0 0 18px;
    padding: 0;
    list-style: disc;
}

.dc360help-live__content li {
    margin: 0 0 8px;
}

.dc360help-live__grid .dc360help-live__apply {
    margin-top: 6px;
    padding: 6px 12px;
    font-size: 13px;
}

.dc360help-here {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eaf7ef;
    color: #1d6b41;
    font-weight: 600;
}

.dc360help-article__body {
    font-size: 15px;
}

.dc360help-article__body p {
    margin: 0 0 10px;
}

.dc360help-article__body ol,
.dc360help-article__body ul {
    margin: 0 0 12px;
    padding-left: 22px;
}

.dc360help-article__body li {
    margin: 0 0 6px;
}

.dc360help-article__body strong {
    color: var(--dch-navy);
}

.dc360help-article__body a {
    color: var(--dch-blue);
}

.dc360help-article__body .dc360help-tip {
    padding: 10px 12px;
    border-left: 4px solid var(--dch-accent);
    border-radius: 6px;
    background: #fff8e8;
}

.dc360help-feedback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 12px;
    border-radius: 10px;
    background: var(--dch-soft);
    font-size: 14px;
}

.dc360help-feedback__q {
    flex: 1 1 100%;
    font-weight: 600;
}

.dc360help-feedback__thanks {
    font-weight: 600;
}

.dc360help-vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--dch-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dch-text);
    font-family: var(--dch-font);
    font-size: 14px;
    cursor: pointer;
}

.dc360help-vote:hover {
    border-color: var(--dch-navy);
}

.dc360help-stuck {
    flex: 1 1 100%;
    margin-top: 8px;
}

.dc360help-link {
    color: var(--dch-blue);
    font-weight: 600;
}

.dc360help-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- the Help character (1.2.0): a friendly helper who gives the answers ---------- */

.dc360help-panel--buddy .dc360help-head,
.dc360help-panel--buddy .dc360help-ask {
    background: var(--dch-buddy, var(--dch-navy));
}

.dc360help-buddy {
    display: flex;
    flex-shrink: 0;
    align-items: flex-end;
    gap: 10px;
    padding: 10px 14px 4px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--dch-buddy, #23324f) 14%, #fff) 0%, #fff 100%);
}

.dc360help-buddy[hidden] {
    display: none;
}

button.dc360help-buddy__face {
    flex: none;
    width: 78px;
    height: 104px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    box-shadow: none;
}

.dc360help-buddy__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transform-origin: 50% 100%;
    animation: dc360help-bob 3.2s ease-in-out infinite;
}

.dc360help-buddy.is-talking .dc360help-buddy__img {
    animation: dc360help-talk .55s ease-out 1, dc360help-bob 3.2s ease-in-out .55s infinite;
}

.dc360help-buddy.is-reading .dc360help-buddy__img {
    animation: dc360help-read .5s ease-in-out infinite alternate;
}

.dc360help-buddy.is-confused .dc360help-buddy__img {
    animation: dc360help-puzzle 1.6s ease-in-out 1, dc360help-bob 3.2s ease-in-out 1.6s infinite;
}

.dc360help-buddy__bubble {
    position: relative;
    flex: 1;
    min-width: 0;
    margin: 0 0 18px;
    padding: 9px 12px 8px;
    border: 2px solid var(--dch-buddy, var(--dch-navy));
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.dc360help-buddy__bubble::before,
.dc360help-buddy__bubble::after {
    content: "";
    position: absolute;
    bottom: 14px;
    width: 0;
    height: 0;
    border-style: solid;
}

.dc360help-buddy__bubble::before {
    left: -12px;
    border-width: 8px 12px 8px 0;
    border-color: transparent var(--dch-buddy, var(--dch-navy)) transparent transparent;
}

.dc360help-buddy__bubble::after {
    left: -8px;
    border-width: 6px 9px 6px 0;
    border-color: transparent #fff transparent transparent;
    margin-bottom: 2px;
}

.dc360help-buddy__name {
    display: block;
    color: var(--dch-buddy, var(--dch-navy));
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dc360help-buddy__text {
    margin: 2px 0 6px;
    padding: 0;
    color: var(--dch-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    animation: dc360help-pop .25s ease-out;
}

.dc360help-buddy__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

button.dc360help-buddy__btn,
button.dc360help-read {
    margin: 0;
    padding: 4px 10px;
    border: 1px solid var(--dch-line);
    border-radius: 999px;
    background: var(--dch-soft);
    color: var(--dch-text);
    font-family: var(--dch-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}

button.dc360help-buddy__btn:hover,
button.dc360help-read:hover {
    border-color: var(--dch-buddy, #c5cede);
    background: #fff;
}

button.dc360help-buddy__speak {
    border-color: var(--dch-buddy, var(--dch-navy));
    background: var(--dch-buddy, var(--dch-navy));
    color: #fff;
}

button.dc360help-buddy__speak:hover {
    background: var(--dch-buddy, var(--dch-navy));
    color: #fff;
    filter: brightness(1.1);
}

button.dc360help-buddy__btn[hidden],
button.dc360help-read[hidden] {
    display: none;
}

button.dc360help-buddy__btn.is-speaking,
button.dc360help-read.is-speaking {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

button.dc360help-read {
    display: inline-block;
    margin: 0 0 12px;
}

/* With a helper the panel is a bit friendlier: rounder cards in the character's colour. */
.dc360help-panel--buddy .dc360help-item {
    border-radius: 14px;
}

.dc360help-panel--buddy .dc360help-section--page .dc360help-item {
    border-left-color: var(--dch-buddy);
}

.dc360help-panel--buddy .dc360help-h > svg {
    color: var(--dch-buddy);
}

/* Choosing a helper */
.dc360help-chooser {
    text-align: center;
}

.dc360help-chooser__title {
    margin: 4px 0 4px;
    padding: 0;
    border: 0;
    color: var(--dch-navy);
    font-family: var(--dch-font);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
}

.dc360help-chooser__intro {
    margin: 0 0 14px;
    color: var(--dch-muted);
    font-size: 15px;
}

.dc360help-chooser__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

button.dc360help-pick {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 10px 6px 12px;
    border: 3px solid var(--dch-line);
    border-radius: 16px;
    background: #fff;
    color: var(--dch-text);
    font-family: var(--dch-font);
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

button.dc360help-pick:hover,
button.dc360help-pick:focus-visible {
    border-color: var(--dch-pick);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    background: color-mix(in srgb, var(--dch-pick) 8%, #fff);
}

button.dc360help-pick:hover .dc360help-pick__img,
button.dc360help-pick:focus-visible .dc360help-pick__img {
    animation: dc360help-wave .6s ease-in-out;
}

button.dc360help-pick.is-current {
    border-color: var(--dch-pick);
}

.dc360help-pick__img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: contain;
    object-position: bottom center;
    transform-origin: 50% 100%;
}

.dc360help-pick__name {
    color: var(--dch-pick);
    font-size: 16px;
    font-weight: 800;
}

.dc360help-pick__tag {
    display: block;
    white-space: normal;
    color: var(--dch-muted);
    font-size: 12px;
    line-height: 1.3;
}

.dc360help-pick__now {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--dch-pick);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

button.dc360help-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--dch-font);
    font-size: 14px;
    text-decoration: underline;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}

.dc360help-chooser__none {
    margin-top: 16px !important;
}

.dc360help-history__clear {
    margin-top: 10px !important;
}

.dc360help-offer {
    margin: 0 0 12px;
    text-align: right;
}

@keyframes dc360help-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes dc360help-talk {
    0% { transform: scale(1, 1); }
    30% { transform: scale(1.06, .94); }
    60% { transform: scale(.97, 1.04) translateY(-4px); }
    100% { transform: scale(1, 1); }
}

@keyframes dc360help-read {
    from { transform: rotate(-2deg) translateY(0); }
    to { transform: rotate(2deg) translateY(-2px); }
}

@keyframes dc360help-puzzle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-6deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-3deg); }
}

@keyframes dc360help-wave {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-5deg) translateY(-3px); }
    75% { transform: rotate(5deg) translateY(-3px); }
}

@keyframes dc360help-pop {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .dc360help-buddy__img,
    .dc360help-buddy__text,
    .dc360help-pick__img,
    button.dc360help-pick {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- phones ---------- */

@media (max-width: 600px) {
    .dc360help-panel {
        left: 0;
        width: auto;
        border-left: 0;
    }

    .dc360help-tab {
        top: auto;
        bottom: 88px;
        padding: 10px 8px;
        transform: none;
    }

    .dc360help-tab__label {
        display: none;
    }
}

@media print {
    .dc360help-tab,
    .dc360help-panel {
        display: none !important;
    }
}

/* ---------- DC360 message boxes: a Help character says it (user request 2026-10-16) ---------- */
.dc360say { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(15, 23, 42, 0.55); font: 16px/1.45 Arial, Helvetica, sans-serif; animation: dc360say-fade 0.15s ease-out; }
.dc360say__box { --dc360say: #e8731a; display: flex; align-items: flex-end; gap: 6px; max-width: min(600px, 96vw); animation: dc360say-pop 0.35s cubic-bezier(.2, 1.4, .4, 1); }
.dc360say__pic { flex: 0 0 auto; width: 132px; max-height: 210px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); animation: dc360say-wave 0.9s ease-in-out 0.25s; }
.dc360say__bubble { position: relative; flex: 1 1 auto; min-width: 0; margin-bottom: 40px; padding: 16px 18px 14px; background: #fff; color: #1f2937;
    border: 3px solid var(--dc360say); border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); text-align: left; }
.dc360say__bubble::before { content: ""; position: absolute; left: -15px; bottom: 26px; border-style: solid; border-width: 10px 15px 10px 0;
    border-color: transparent var(--dc360say) transparent transparent; }
.dc360say__name { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dc360say); }
.dc360say__hi { margin: 2px 0 6px; font-size: 18px; font-weight: 700; }
.dc360say__msg { margin: 0 0 6px; white-space: normal; overflow-wrap: anywhere; }
.dc360say__bye { margin: 0 0 8px; font-weight: 700; }
.dc360say__input { display: block; width: 100%; box-sizing: border-box; margin: 6px 0 10px; padding: 9px 11px; font: inherit; color: #1f2937; background: #fff;
    border: 2px solid #cbd5e1; border-radius: 10px; }
.dc360say__input:focus { outline: none; border-color: var(--dc360say); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dc360say) 25%, transparent); }
.dc360say__buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.dc360say__btn { min-width: 80px; padding: 8px 16px; font: 700 15px Arial, Helvetica, sans-serif; color: #1f2937; background: #fff; border: 2px solid #cbd5e1;
    border-radius: 999px; cursor: pointer; }
.dc360say__btn:hover { background: #f1f5f9; }
.dc360say__btn:focus-visible { outline: 3px solid var(--dc360say); outline-offset: 2px; }
.dc360say__btn--main { color: #fff; background: var(--dc360say); border-color: var(--dc360say); }
.dc360say__btn--main:hover { background: var(--dc360say); filter: brightness(1.08); }
.dc360say__btn--danger { background: #b91c1c; border-color: #b91c1c; }
.dc360say__listen { margin-right: auto; min-width: 0; font-weight: 600; font-size: 13px; }
.dc360say__btn--danger { color: #fff; }
.dc360say__btn:disabled { opacity: 0.6; cursor: default; }
/* The shared Save box and My Work box (2026-10-16). */
.dc360say__label { display: block; margin-top: 8px; font-weight: 700; }
.dc360say__error { margin: -4px 0 8px; padding: 6px 10px; color: #991b1b; background: #fef2f2; border-radius: 8px; font-weight: 600; }
.dc360say__box--wide { max-width: min(860px, 96vw); width: 100%; }
.dc360say__box--wide .dc360say__bubble { display: flex; flex-direction: column; max-height: 82vh; }
/* Student Classwork (2026-10-23): one Teach tile, and a box of square app tiles, 3 across and 4 rows high (more scroll). */
.dc360cw { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(15, 23, 42, 0.55); font-family: Arial, Helvetica, sans-serif; }
.dc360cw__box { width: min(620px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; padding: 18px 20px 20px; box-sizing: border-box;
    background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); color: #1f2937; }
.dc360cw__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dc360cw__title { margin: 0; font-size: 22px; font-weight: 800; }
.dc360cw__close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 22px; line-height: 1; cursor: pointer; }
.dc360cw__close:hover { background: #e2e8f0; }
.dc360cw__intro { margin: 6px 0 14px; font-size: 15px; color: #475569; }
.dc360cw__grid { --dc360cw-tile: min(176px, calc((100vw - 104px) / 3), calc((100vh - 230px) / 4)); display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: var(--dc360cw-tile);
    gap: 14px; max-height: calc(var(--dc360cw-tile) * 4 + 14px * 3); overflow-y: auto; padding: 4px; margin: -4px; }
.dc360cw__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; box-sizing: border-box;
    border: 2px solid #e2e8f0; border-radius: 16px; background: color-mix(in srgb, var(--dc360cw) 6%, #fff); color: #1f2937; text-decoration: none; text-align: center;
    transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s; }
.dc360cw__tile:hover, .dc360cw__tile:focus-visible { transform: translateY(-2px); border-color: var(--dc360cw); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15); outline: none; text-decoration: none; }
.dc360cw__logo { display: flex; align-items: center; justify-content: center; width: 42%; aspect-ratio: 1; border-radius: 22%;
    background: var(--dc360cw); color: #fff; font-size: clamp(22px, 4.2vw, 40px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15); }
.dc360cw__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
@media (prefers-reduced-motion: reduce) { .dc360cw__tile { transition: none; } }
/* My Feedback (2026-10-22): the work open now first, in a thick border; comments in their work's R/A/G colour. */
.dc360fb { flex: 1 1 auto; min-height: 60px; overflow: auto; margin: 4px -6px 4px 0; padding-right: 6px; }
.dc360fb__work { margin: 0 0 10px; padding: 8px 10px; border: 2px solid #e2e8f0; border-radius: 14px; background: #fff; }
.dc360fb__work.is-now { border: 5px solid var(--dc360say, #e8731a); padding: 8px 10px 10px; }
.dc360fb__title { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.dc360fb__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc360fb__dot { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.dc360fb__dot.is-red { background: #dc2626; }
.dc360fb__dot.is-amber { background: #f59e0b; }
.dc360fb__dot.is-green { background: #16a34a; }
.dc360fb__open { flex: none; font-weight: 700; font-size: 13px; color: #1d4ed8; text-decoration: none; }
.dc360fb__open:hover { text-decoration: underline; }
.dc360fb__marks { margin: 4px 0 2px; font-size: 13.5px; color: #334155; }
.dc360fb__none { margin: 6px 0 2px; color: #64748b; font-style: italic; }
.dc360fb__others { margin: 14px 0 8px; font-size: 15px; font-weight: 800; color: #334155; }
.dc360fb__comment { margin-top: 6px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.dc360fb__comment.is-now { background: color-mix(in srgb, var(--dc360say, #e8731a) 10%, #fff); border-color: color-mix(in srgb, var(--dc360say, #e8731a) 35%, #fff); }
.dc360fb__comment.is-red { background: #fee2e2; border-color: #fca5a5; }
.dc360fb__comment.is-amber { background: #fef3c7; border-color: #fcd34d; }
.dc360fb__comment.is-green { background: #dcfce7; border-color: #86efac; }
.dc360fb__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; }
.dc360fb__when { color: #64748b; }
.dc360fb__new { padding: 1px 8px; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: 11px; font-weight: 700; }
.dc360fb__read { margin-left: auto; padding: 2px 10px; border: 1px solid #94a3b8; border-radius: 999px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.dc360fb__read:hover { background: #f1f5f9; }
.dc360fb__text { margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dc360say-work { flex: 1 1 auto; min-height: 60px; overflow: auto; margin: 4px -6px 4px 0; padding-right: 6px; }
.dc360say-work__list { list-style: none; margin: 0; padding: 0; }
.dc360say-work__item { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; padding: 8px; border: 2px solid #e2e8f0; border-radius: 14px; }
.dc360say-work__item.is-current { border-color: var(--dc360say); background: color-mix(in srgb, var(--dc360say) 7%, #fff); }
.dc360say-work__thumb { flex: 0 0 76px; width: 76px; height: 76px; object-fit: contain; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
/* Pictures of the work in the My Work box: panels grid, code, flowcharts; and the hover zoom. */
.dc360say-work__panels { display: grid; gap: 2px; padding: 2px; box-sizing: border-box; overflow: hidden; }
.dc360say-work__panels--2, .dc360say-work__panels--3, .dc360say-work__panels--4 { grid-template-columns: 1fr 1fr; }
.dc360say-work__cell { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f1f5f9; border-radius: 4px; min-height: 0; }
.dc360say-work__cell img { width: 100%; height: 100%; object-fit: cover; }
.dc360say-work__celltext { padding: 1px 2px; font-size: 7px; line-height: 1.15; color: #334155; overflow: hidden; text-align: center; }
.dc360say-work__code { margin: 0; padding: 4px 5px; box-sizing: border-box; overflow: hidden; font: 6.5px/1.25 Consolas, monospace; color: #e2e8f0; background: #1e293b; white-space: pre; text-align: left; }
.dc360say-work__flow { display: flex; padding: 3px; box-sizing: border-box; }
.dc360say-work__flow svg { width: 100%; height: 100%; }
.dc360say-zoom { position: fixed; z-index: 2147483600; width: 360px; height: 360px; padding: 8px; box-sizing: border-box; background: #fff; border: 3px solid #cbd5e1;
    border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); pointer-events: none; }
.dc360say-zoom__inner { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.dc360say-zoom .dc360say-work__celltext { font-size: 14px; }
.dc360say-zoom pre.dc360say-zoom__inner { margin: 0; padding: 10px; box-sizing: border-box; overflow: hidden; font: 12px/1.35 Consolas, monospace; color: #e2e8f0; background: #1e293b; white-space: pre; }
.dc360say-work__icon { display: flex; align-items: center; justify-content: center; font-size: 34px; background: color-mix(in srgb, var(--dc360say) 10%, #fff); }
.dc360say-work__footnote { margin: 2px 0 0; font-size: 13px; color: #64748b; }
.dc360say-work__info { flex: 1 1 auto; min-width: 0; }
.dc360say-work__title { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc360say-work__meta { font-size: 13px; color: #64748b; }
.dc360say-work__tag { display: inline-block; margin: 4px 4px 0 0; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: #475569; }
.dc360say-work__tag--current { background: var(--dc360say); }
.dc360say-work__tag--star { background: #eab308; color: #1f2430; }
.dc360say-work__tag--red { background: #dc2626; }
.dc360say-work__tag--amber { background: #f59e0b; color: #1f2430; }
.dc360say-work__tag--green { background: #16a34a; }
.dc360say-work__tag--resubmit { background: #92400e; }
.dc360say-work__tag--resubmitted { background: #1e40af; }
.dc360say-work__tag--edited { background: #5b21b6; }
.dc360say-work__tag--new { background: #2563eb; }
.dc360say-work__actions { display: flex; flex-direction: column; gap: 5px; }
.dc360say-work__actions .dc360say__btn { min-width: 0; padding: 4px 12px; font-size: 13px; }
.dc360say-work__empty { margin: 10px 0; color: #64748b; }
a.dc360say__btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.dc360say-work__trash { color: #92400e; border-color: #fcd34d; }
@media (max-width: 600px) { .dc360say-work__item { flex-wrap: wrap; } .dc360say-work__actions { flex-direction: row; flex-wrap: wrap; } }
/* The DC360 Library box (2026-10-17): the app's own folders, then everything else. */
.dc360say-lib__search { margin: 2px 0 6px; }
.dc360say-lib { flex: 1 1 auto; min-height: 60px; overflow: auto; margin: 4px -6px 4px 0; padding-right: 6px; }
.dc360say-lib__head { margin: 10px 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dc360say); }
.dc360say-lib__folder { margin-bottom: 8px; border: 2px solid #e2e8f0; border-radius: 14px; padding: 4px 10px; }
.dc360say-lib__folder[open] { padding-bottom: 10px; }
.dc360say-lib__summary { cursor: pointer; padding: 6px 0; font-weight: 800; }
.dc360say-lib__group { font-weight: 600; color: #64748b; }
.dc360say-lib__all { margin: 2px 0 8px; }
.dc360say-lib__pics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.dc360say-lib__pic { min-width: 0; }
.dc360say-lib__picbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; height: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; padding: 6px; border: 2px solid #e2e8f0; border-radius: 12px; background: #fff; cursor: pointer; font: inherit; white-space: normal; }
.dc360say-lib__picbtn .dc360say-lib__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.dc360say-lib__picbtn:hover, .dc360say-lib__picbtn:focus-visible { border-color: var(--dc360say); background: color-mix(in srgb, var(--dc360say) 7%, #fff); }
.dc360say-lib__picbtn .dc360say-work__thumb { flex: none; width: 84px; height: 84px; border: 0; }
.dc360say-lib__name { font-size: 13px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.dc360say-lib__sounds { list-style: none; margin: 0; padding: 0; }
.dc360say-lib__sound { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f1f5f9; }
.dc360say-lib__sound .dc360say-lib__name { flex: 1 1 auto; text-align: left; font-size: 15px; }
.dc360say-lib__play { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--dc360say); background: #fff; color: var(--dc360say); font-size: 15px; cursor: pointer; }
.dc360say-lib__play.is-playing { background: var(--dc360say); color: #fff; }
@keyframes dc360say-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dc360say-pop { from { opacity: 0; transform: translateY(24px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes dc360say-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 60% { transform: rotate(5deg); } }
@media (max-width: 480px) { .dc360say__box { flex-direction: column; align-items: center; } .dc360say__pic { width: 96px; } .dc360say__bubble { margin-bottom: 0; } .dc360say__bubble::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .dc360say, .dc360say__box, .dc360say__pic { animation: none; } }

/* The ONE Help menu (2026-10-17): Shortcuts and About boxes, and the shared menu for apps without a menu bar. */
.dc360say-keys, .dc360say-about { flex: 1 1 auto; min-height: 40px; overflow: auto; margin: 4px -6px 4px 0; padding-right: 6px; }
.dc360say-keys__head { margin: 12px 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dc360say); }
.dc360say-keys__head:first-child { margin-top: 2px; }
.dc360say-keys__table { width: 100%; border-collapse: collapse; }
.dc360say-keys__table td { padding: 5px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.dc360say-keys__table td:first-child { width: 42%; white-space: nowrap; }
.dc360say-keys__combo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; color: #64748b; }
.dc360say-keys__combo kbd { display: inline-block; min-width: 1.6em; padding: 2px 7px; font: 700 13px/1.4 Consolas, monospace; text-align: center; color: #1f2937;
    background: #f8fafc; border: 1px solid #cbd5e1; border-bottom-width: 3px; border-radius: 6px; }
.dc360say-keys__or { margin: 0 4px; font-size: 12px; font-weight: 700; }
.dc360say-about__title { margin: 2px 0 8px; font-size: 20px; font-weight: 800; color: var(--dc360say); }
.dc360say-about p { margin: 0 0 8px; }
.dc360say-about__credits { margin: 0 0 8px; padding-left: 20px; }
.dc360say-about__credits li { margin-bottom: 6px; }
.dc360say-about__licence { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: #475569; }
.dc360say-about__note { font-size: 14px; color: #475569; }
.dc360say-about__foot { margin-top: 10px !important; font-size: 13px; color: #64748b; }
.dc360say-helpmenu { position: fixed; z-index: 2147482000; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #cbd5e1;
    border-radius: 10px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2); font: 15px/1.4 Arial, Helvetica, sans-serif; }
.dc360say-helpmenu__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; color: #1f2937; background: none; border: 0; border-radius: 6px;
    font: inherit; text-align: left; cursor: pointer; }
.dc360say-helpmenu__item:hover, .dc360say-helpmenu__item:focus-visible { background: #f1f5f9; outline: none; }
.dc360say-helpmenu li { margin: 0; padding: 0; list-style: none; }
.dc360say-helpmenu__ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #e8731a; color: #fff; font: 700 12px/1 Arial, Helvetica, sans-serif; }
@media (max-width: 600px) { .dc360say-keys__table td:first-child { width: auto; white-space: normal; } }
/* The ONE "Current file: <title> (saved)/(unsaved)" label in DC360's own apps (2026-10-17), the same as Draw, Photo
   Graphics, Pixel, Animation and Audio: after Save and My Work, a thin divider, the file icon, the title in bold,
   then (saved) green / (unsaved) amber, or "Not saved yet" in amber italics. Clicking it opens Save. */
.dc360say-curfile { display: inline-flex; align-items: center; gap: 5px; max-width: 380px; min-width: 0; height: 30px; margin: 0 0 0 4px; padding: 0 8px 0 10px;
    background: none; border: 0; border-left: 1px solid rgba(127, 127, 127, 0.45); border-radius: 0; color: inherit; font: 13px/1 Arial, Helvetica, sans-serif;
    white-space: nowrap; cursor: pointer; flex: 0 1 auto; }
.dc360say-curfile:hover .dc360say-curfile__name { text-decoration: underline; }
.dc360say-curfile:focus-visible { outline: 2px solid #e8731a; outline-offset: 2px; }
.dc360say-curfile__icon { opacity: 0.75; }
.dc360say-curfile__label { opacity: 0.8; }
.dc360say-curfile__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 200px; }
.dc360say-curfile__none { color: #d97706; font-style: italic; }
.dc360say-curfile__state { font-weight: 700; }
.dc360say-curfile__state.is-saved { color: #16a34a; }
.dc360say-curfile__state.is-unsaved { color: #d97706; }
.dc360say-curfile__state.is-failed { color: #dc2626; }
/* Current file on two lines (owner 2026-10-22): "Current file: <name>", then "✓ (Saved)" / "(Unsaved)" under it, like the title and its description. */
.dc360say-curfile { display: inline-grid !important; grid-template-columns: auto auto minmax(0,1fr); column-gap: 4px !important; row-gap: 0 !important; align-items: baseline; align-content: center; height: auto !important; min-height: 0 !important; padding-top: 1px !important; padding-bottom: 1px !important; line-height: 1.2 !important; white-space: nowrap; }
.dc360say-curfile > :not(.dc360say-curfile__state) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dc360say-curfile > .dc360say-curfile__state { grid-column: 2 / -1; margin-left: 0 !important; justify-self: start; text-align: left; font-size: 11px !important; line-height: 1.15 !important; }
.dc360say-curfile > .dc360say-curfile__state:not(.is-unsaved):not(.is-failed)::before { content: "\2713  "; font-weight: 700; }
.dc360say-curfile__icon { align-self: center; }
/* The app's own save dot / badge: the label says it now. */
.dc360say-said { display: none !important; }
@media (max-width: 900px) { .dc360say-curfile__label { display: none; } .dc360say-curfile__name { max-width: 120px; } }
/* Pixabay in the DC360 Library box (2026-10-19). */
.dc360say-lib__pixabay { margin-top: 6px; }
.dc360say-lib__pixabay > .dc360say__btn { margin: 2px 0 6px; }
.dc360say-lib__note { margin: 4px 0 8px; font-size: 12px; color: #64748b; }