/* Tier upgrade banner */
.tier-banner {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 7px 36px 7px 14px;
    font-size: 0.82em;
    color: var(--text-muted);
    position: relative;
    line-height: 1.4;
}
.tier-banner a { color: var(--primary-color); font-weight: 600; }
.tier-banner-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    color: var(--text-light);
    padding: 2px 6px;
    width:20px;
}
.tier-banner-close:hover { color: var(--text-color); }
.canvas { flex: 1; max-width: calc(40 * 20px + 45px); padding: 0; overflow: hidden; scrollbar-width: none; border-right: 1px solid var(--border-color); background: var(--bg-white); position: relative; display: flex; flex-direction: column; }
.canvas::-webkit-scrollbar { display: none; }
.canvas-body-row { display: flex; flex: 1; min-height: 0; }
.canvas-scroll-area { flex: 1; overflow-y: auto; overflow-x: auto; scrollbar-width: none; position: relative; }
.canvas-scroll-area::-webkit-scrollbar { display: none; }

/* Canvas minimap — lives inside the vtoolbar column */
.canvas-minimap {
    width: 100%;
    flex: 1;
    min-height: 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
    border-radius: 4px;
    margin-top: 6px;
}
.canvas-minimap canvas {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
}
.minimap-viewport {
    position: absolute;
    left: 1px;
    right: 0;
    border: 1.5px solid rgba(140, 140, 140, 0.6);
    background: rgba(160, 160, 160, 0.12);
    border-radius: 2px;
    cursor: grab;
    z-index: 1;
}
.minimap-viewport:active {
    cursor: grabbing;
}

.lock-icon {
    vertical-align: -2px;
    opacity: 0.6;
    flex-shrink: 0;
    margin-right: 2px;
}

.commit-hash-badge {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 0.68em;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    cursor: help;
    white-space: nowrap;
    flex-shrink: 0;
}

.canvas-header {
    z-index: 10;
    background: var(--bg-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.canvas-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.canvas-vtoolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 36px;
    flex-shrink: 0;
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    padding: 6px 4px;
    box-sizing: content-box;
}
.canvas-vtoolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 5px;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    transition: background 0.1s, color 0.1s;
}
.canvas-vtoolbar-btn:hover {
    background: rgba(128,128,128,0.12);
    color: var(--text-color);
}
.canvas-vtoolbar-btn.active {
    background: var(--primary-color);
    color: #fff;
}
.canvas-vtoolbar-btn svg {
    flex-shrink: 0;
}

.canvas-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

/* Save-status indicator */
.save-status {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.save-status .save-icon-check { display: none; }
.save-status .save-icon-spin  { display: none; }
.save-status-saved .save-icon-check { display: block; color: var(--success-color, #27ae60); }
.save-status-saving .save-icon-spin  { display: block; color: var(--text-muted); animation: save-spin 0.8s linear infinite; }
@keyframes save-spin { to { transform: rotate(360deg); } }

.sidebar-handle,
.bench-handle {
    width: 0;
    background: var(--bg-notepad-header);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: width 0s, background 0.2s, filter 0.2s;
    pointer-events: none;
}

/* Invisible hover trigger zone — only active when bench is collapsed */
#bench-hover-trigger {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 22;
    pointer-events: none;
}
body:has(#notepad-panel.collapsed) #bench-hover-trigger {
    pointer-events: auto;
}

/* Slim grip state (panel expanded) */
.sidebar-handle {
    width: 0;
    background: var(--border-color);
    flex-shrink: 0;
    cursor: col-resize;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: width 0.3s ease-in-out, background 0.2s, filter 0.2s;
}
.sidebar-handle:hover {
    background: var(--primary-color);
}

/* Grip pip — hidden when panel is collapsed */
.sidebar-handle::before,
.bench-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 24px;
    background: rgba(255,255,255,0.45);
    border-radius: 1px;
    transition: opacity 0.2s;
}
.sidebar-handle.panel-collapsed::before,
.bench-handle.panel-collapsed::before {
    opacity: 0;
}

/* Expanded tab state (panel collapsed) */
.sidebar-handle.panel-collapsed,
.bench-handle.panel-collapsed {
    width: 30px;
    padding-top: 14px;
    gap: 10px;
    justify-content: flex-start;
    pointer-events: auto;
    cursor: pointer;
}
/* Delay handle appearance until bench panel has finished collapsing */
.bench-handle.panel-collapsed {
    transition: width 0s 0.3s, background 0.2s, filter 0.2s;
}

.handle-icon,
.handle-label {
    display: none;
    pointer-events: none;
}
.panel-collapsed .handle-icon {
    display: block;
    font-size: 15px;
    line-height: 1;
    opacity: 0.8;
}
.panel-collapsed .handle-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    opacity: 0.75;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

/* Colour theming for the text/icon */
.sidebar-handle .handle-icon,
.sidebar-handle .handle-label {
    color: var(--text-color);
}
.bench-handle .handle-icon,
.bench-handle .handle-label {
    color: #fff;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--bg-notepad-header);
    padding: 2px;
    margin-bottom: 0; /* Gap in grid handles spacing now */
    border-radius: 8px;
    cursor: grab;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    min-height: 100px; /* Ensure space is reserved in Grid before content loads */
    min-width: 200px;  /* Fits the caption formatting toolbar */
}

/* Add a subtle shadow only to cards in the Notepad stream */
@keyframes card-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.04); }
    60%  { transform: scale(0.97); }
    80%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.notepad-stream .card {
    box-shadow: 0 2px 6px var(--shadow-color);
}

.notepad-stream .card.card-just-added {
    animation: card-bounce 0.6s ease;
}

/* Compact image thumbnails in the bench */
.notepad-stream .card img {
    max-height: 110px;
    object-fit: cover;
}

/* Compact data table preview in the bench */
.notepad-stream .mini-table-container {
    height: 100px;
}

#notebook-content .card {
    position: absolute;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
#notebook-content .card.collision-highlight {
    outline: 3px dotted red;
    outline-offset: -3px;
}

/* Canvas cards use neutral grey instead of accent color */
#notebook-content .card {
    border-color: var(--text-light);
}
#notebook-content .card .card-header {
    margin: 0 0 2px 0;
    background-color: var(--bg-surface);
    border-bottom-color: var(--text-light);
}
#notebook-content .card .card-ext-tag {
    background-color: var(--text-light);
}
#notebook-content .card .card-caption {
    border-top-color: var(--text-light);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* On the spatial canvas, a .card-body holds the explicit height so the caption
   can expand below without squishing the image. */
#notebook-content .card .card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}
/* Platemap cards: never clip/scroll the table, auto-size to content */
#notebook-content .card .card-body:has(.platemap-table) {
    overflow: visible;
    height: auto !important;
}
#notebook-content .card:has(.platemap-table) > .card-header {
    margin-bottom: 0;
}

/* When card-body has an inline height, the image fills it via flex-grow.
   When there is no inline height (e.g. freshly uploaded), height:auto applies. */
#notebook-content .card .card-body[style*="height"] img {
    flex: 1;
    min-height: 0;
    height: 0;
    object-fit: contain;
}

#notebook-content .card .card-body img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

#notebook-content .card .card-image-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #ffffff;
}
#notebook-content .card .card-body[style*="height"] .card-image-wrap img {
    flex: 1;
    min-height: 0;
    height: 0;
    object-fit: contain;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--card-header-bg);
    color: var(--text-muted);
    padding: 4px 3px 4px 6px;
    margin: -2px -2px 2px -2px; /* Pulls header flush with the card's 2px padding */
    border-bottom: 1px solid var(--bg-notepad-header);
    border-radius: 8px 8px 0 0;
    user-select: none;
}

.card-filename {
    font-size: 0.75em;
    font-weight: bold;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 8px;
    border-radius: 3px;
    padding: 0 2px;
}
.card-filename[contenteditable="true"] {
    outline: none;
    background: var(--bg-white);
    color: var(--text-color);
    cursor: text;
    text-overflow: clip;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.card-ext-tag {
    font-size: 0.65em;
    font-weight: bold;
    background-color: var(--bg-notepad-header);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.card .resize-handle {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    z-index: 10;
    background: transparent;
}
.card .resize-handle::before {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, transparent 50%, var(--resize-handle-color, var(--border-color)) 50%);
    border-radius: 0 0 6px 0;
    pointer-events: none;
}

.card.dragging {}

/* Notebook text cards: show resize on hover or focus */
#notebook-content .text-card .resize-handle { display: none; }
#notebook-content .text-card:hover .resize-handle,
#notebook-content .text-card.text-focused .resize-handle { display: block; }

/* Drag handle: hidden for text cards (drag whole card instead), visible for table cards */
.text-drag-handle { display: none; }
#notebook-content .text-card .text-drag-handle { display: none !important; }
#notebook-content .table-card .text-drag-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    cursor: grab;
    background: var(--border-color);
    border-bottom: 1px solid rgba(128,128,128,0.15);
    z-index: 4;
    align-items: center;
    justify-content: center;
}
#notebook-content .table-card .text-drag-handle::after {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    border-top: 2px dotted rgba(128,128,128,0.35);
    border-bottom: 2px dotted rgba(128,128,128,0.35);
}
#notebook-content .table-card .text-drag-handle:active {
    cursor: grabbing;
}
/* Text card: default cursor, grabbing when dragging */
#notebook-content .text-card:not(.text-focused) { cursor: default; }
#notebook-content .text-card:not(.text-focused):active { cursor: grabbing; }

.delete-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s;
    z-index: 10;
}
.delete-btn { display: flex; }
.delete-btn:hover { color: var(--danger-color); }

/* Canvas item multi-select */
.card.canvas-selected,
.card.canvas-selected:hover {
    outline: none;
}
.card.canvas-selected::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--link-color);
    border-radius: 10px;
    pointer-events: none;
    z-index: 20;
}
/* Snap ghost — shows where the card will land on the grid */
.drag-snap-ghost {
    position: absolute;
    border: 2px dashed var(--snap-ghost-color, var(--primary-color));
    border-radius: 8px;
    background: rgba(69, 184, 133, 0.06);
    pointer-events: none;
    z-index: 0;
    transition: left 0.08s ease-out, top 0.08s ease-out;
}
.drag-snap-ghost.snap-collides {
    border-color: var(--danger-color);
    background: rgba(196, 64, 78, 0.06);
}

/* Resize/drag collision feedback — overlays all card content */
.card.drag-feedback::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--drag-feedback-color, var(--success-color));
    border-radius: 8px;
    pointer-events: none;
    z-index: 20;
}

.shape-group.canvas-selected > :nth-child(2) {
    stroke: var(--link-color) !important;
    stroke-width: 3 !important;
}

/* Lasso selection rectangle */
.lasso-rect {
    position: absolute;
    border: 2px dashed var(--link-color);
    background: rgba(66, 133, 244, 0.08);
    pointer-events: none;
    z-index: 50;
}

/* Paste toast notification */
.paste-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--toast-bg);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}
.paste-toast.show { opacity: 1; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: var(--bg-white);
    border-radius: 10px;
    width: 360px;
    text-align: left;
    overflow: hidden;
    /* Layered box-shadows: 2px colored border + 2px white outer + drop shadow */
    box-shadow:
        0 0 0 2px var(--modal-action-color, var(--link-color, #2e7cb8)),
        0 0 0 4px #fff,
        0 8px 30px rgba(0,0,0,0.18);
}
.modal-header {
    display: flex;
    align-items: center;
    padding: 14px 15px 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
    gap: 12px;
}
.modal-header-title {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 0.95em;
    color: var(--text-color);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-header-icon {
    display: flex;
    align-items: center;
    opacity: 0.6;
}
.modal-close-btn {
    flex-shrink: 0;
    width: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    line-height: 1;
    color: var(--text-muted);
    padding: 0 4px;
    border-radius: 4px;
    transition: background 0.15s;
}
.modal-close-btn:hover { background: var(--border-color); }
.modal-body {
    padding: 18px 18px 18px;
}
.modal-body p { margin: 0; font-size: 0.88em; line-height: 1.5; color: var(--text-color); }
.modal-actions {
    display: flex;
    border-top: 2px solid var(--border-color);
}
.modal-actions button {
    flex: 1;
    padding: 11px 0;
    border: none;
    border-radius: 0;
    font-size: 0.88em;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.15s;
    margin: 0;
}
.modal-actions button:hover { filter: brightness(0.92); }
.modal-actions button + button { border-left: 1px solid var(--border-color); }
.modal-actions .btn-action  { background: var(--link-color, #2e7cb8); color: #fff; }
.modal-actions .btn-danger  { background: var(--danger-color, #c0392b); color: #fff; }
.modal-actions .btn-success { background: var(--success-color, #27ae60); color: #fff; }
.modal-actions .btn-cancel  { background: var(--bg-white); color: var(--text-muted); }
/* Set outline color to match the primary action button */
.modal-content:has(.btn-danger)  { --modal-action-color: var(--danger-color, #c0392b); }
.modal-content:has(.btn-success) { --modal-action-color: var(--success-color, #27ae60); }
.btn-save { background: var(--primary-color); color: var(--bg-white); width: auto; padding: 5px 15px; }

/* Small Muted Buttons for Experiment Actions */
.btn-small {
    font-size: 0.7rem;
    padding: 4px 8px;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-muted-success { background-color: #9cbca9 !important; }
.btn-muted-danger { background-color: #d1a3a4 !important; }

/* Icon-only toolbar buttons */
.toolbar-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.toolbar-icon-btn:hover {
    background: rgba(128,128,128,0.1);
    border-color: var(--border-color);
    color: var(--text-color);
}
.toolbar-icon-btn.icon-success:hover {
    background: rgba(46, 158, 88, 0.12);
    border-color: var(--success-color);
    color: var(--success-color);
}
.toolbar-icon-btn.icon-danger:hover {
    background: rgba(196, 64, 78, 0.12);
    border-color: var(--danger-color);
    color: var(--danger-color);
}
.toolbar-icon-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.toolbar-icon-btn.active {
    background: rgba(128,128,128,0.12);
    border-color: var(--border-color);
    color: var(--text-color);
}
.toolbar-icon-btn.no-hover:hover {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}

/* ── Image Crop ────────────────────────────────────────── */
.card-image-wrap {
    position: relative;
}

/* Skeleton loading shimmer for cards while images load from R2 */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-skeleton {
    min-height: 80px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        #e8e8e8 25%,
        #d4d4d4 50%,
        #e8e8e8 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
[data-theme="dark"] .card-skeleton {
    background: linear-gradient(
        90deg,
        #2a2a2e 25%,
        #3a3a3e 50%,
        #2a2a2e 75%
    );
    background-size: 200% 100%;
}

/* Hide image until loaded, show skeleton behind it */
.card-image-wrap {
    position: relative;
}
.card-image-wrap .card-skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.card-image-wrap img {
    position: relative;
    z-index: 1;
}
.card-image-wrap img.img-loading {
    opacity: 0;
}

.crop-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    transition: background 0.15s;
}
.crop-btn:hover { background: rgba(0,0,0,0.8); }
.card:hover .crop-btn { display: flex; }
/* Move crop icon above the caption toolbar when it's visible */
.card:has(.caption-focused) .crop-btn { bottom: 40px; }

/* Crop Modal */
.crop-modal-content {
    width: auto;
    max-width: 92vw;
    max-height: 92vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.crop-modal-content .crop-container {
    margin: 20px;
}

.crop-container {
    position: relative;
    display: inline-block;
    overflow: visible;
    line-height: 0;
    user-select: none;
}

#crop-image {
    display: block;
    max-width: 82vw;
    max-height: 72vh;
}

#crop-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    pointer-events: none;
    will-change: clip-path;
}

#crop-selection {
    position: absolute;
    top: 0; left: 0;
    border: 2px dashed rgba(255,255,255,0.9);
    outline: 2px dashed rgba(0,0,0,0.5);
    outline-offset: -2px;
    pointer-events: auto;
    cursor: move;
    will-change: transform, width, height;
}

.crop-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--bg-white);
    border: 2px solid var(--text-color);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
    border-radius: 50%;
    pointer-events: auto;
    z-index: 2;
}
.crop-handle[data-handle="nw"] { top: -6px; left: -6px; cursor: nwse-resize; }
.crop-handle[data-handle="ne"] { top: -6px; right: -6px; cursor: nesw-resize; }
.crop-handle[data-handle="sw"] { bottom: -6px; left: -6px; cursor: nesw-resize; }
.crop-handle[data-handle="se"] { bottom: -6px; right: -6px; cursor: nwse-resize; }
.crop-handle[data-handle="n"]  { top: -6px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle[data-handle="s"]  { bottom: -6px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle[data-handle="w"]  { top: 50%; left: -6px; transform: translateY(-50%); cursor: ew-resize; }
.crop-handle[data-handle="e"]  { top: 50%; right: -6px; transform: translateY(-50%); cursor: ew-resize; }

/* crop-actions removed — crop modal uses shared .modal-actions */

/* Data Grid Modal */
.modal-content.large {
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
}

#spreadsheet-container {
    flex: 1;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.view-data-btn {
    margin-top: 10px;
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 0.8em;
}

.mini-table-container {
    height: 180px;
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

/* Card captions */
.card-caption {
    border-top: 1px solid var(--bg-notepad-header);
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
}

.card-caption .text-toolbar {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    z-index: 6;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 6px var(--shadow-color);
    padding: 3px 4px;
    gap: 1px;
}

.card-caption.caption-focused .text-toolbar {
    display: flex;
}

.card-caption .text-toolbar .fmt-btn {
    background: none;
    border: none;
    border-radius: 5px;
    padding: 3px 5px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.8em;
    line-height: 1;
    min-width: 22px;
    text-align: center;
    transition: background 0.1s, color 0.1s;
}
.card-caption .text-toolbar .fmt-btn:hover {
    background: rgba(128,128,128,0.12);
    color: var(--text-color);
}
.card-caption .text-toolbar .fmt-btn.active {
    background: var(--primary-color);
    color: #fff;
}
.card-caption .text-toolbar .fmt-sep {
    color: var(--text-light);
    padding: 0 2px;
    font-size: 0.75em;
}

.caption-editor {
    padding: 5px 7px;
    outline: none;
    font-size: 0.82em;
    min-height: 28px;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: text;
    word-wrap: break-word;
}

.caption-editor[contenteditable="false"] { cursor: default; }

.caption-editor:empty::before {
    content: 'Add a caption…';
    color: var(--text-light);
    pointer-events: none;
}

/* Date Dividers in Notepad */
.date-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 15px;
    color: var(--text-muted);
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    grid-column: 1 / -1; /* Ensure divider spans all grid columns */
}
.date-divider::before, .date-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.date-divider span { padding: 0 10px; }

/* Text Cards */
.text-card {
    display: flex;
    flex-direction: column;
}

.text-card .card-header,
#notebook-content .text-card .card-header {
    margin-bottom: 0;
}

/* Notebook text cards: transparent by default, no border/bg/header */
#notebook-content .text-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}
#notebook-content .text-card .card-header {
    display: none;
}
#notebook-content .text-card .text-editor {
    min-height: unset;
    height: 100%;
    padding-top: 4px;
}
#notebook-content .text-card:hover,
#notebook-content .text-card.text-focused {
    border: 1px dashed var(--border-color);
}
#notebook-content .text-card.text-dragging {
    border: 1px dashed var(--border-color);
}

/* Notebook text toolbar: canvas-vtoolbar style, inside the card */
#notebook-content .text-card .text-toolbar {
    position: absolute;
    top: 4px;
    right: 4px;
    left: auto;
    bottom: auto;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--toolbar-border, var(--border-color));
    z-index: 5;
    width: 34px;
    gap: 2px;
    padding: 4px;
    background: var(--bg-surface);
    box-shadow: 0 2px 6px var(--shadow-color);
    overflow: hidden;
}

.text-toolbar {
    display: none;
    align-items: center;
    background: var(--secondary-color);
    padding: 2px 4px;
    gap: 1px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(128,128,128,0.25);
    overflow-x: auto;
    scrollbar-width: none;
}
.text-toolbar::-webkit-scrollbar { display: none; }
.text-focused .text-toolbar { display: flex; }
/* Notebook canvas: toolbar only when editing (not on hover) */

.fmt-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-color);
    padding: 1px 5px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.8em;
    width: auto;
    line-height: 1.6;
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.fmt-btn:hover { background: rgba(128,128,128,0.12); border-color: rgba(128,128,128,0.2); }
.fmt-btn.active { background: rgba(128,128,128,0.16); border-color: rgba(128,128,128,0.25); }

.fmt-sep {
    color: var(--text-light);
    padding: 0 2px;
    font-size: 0.75em;
    flex-shrink: 0;
    user-select: none;
}
#notebook-content .text-card .fmt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    color: var(--text-muted);
    width: 100%;
    min-width: unset;
    font-size: 0.82em;
    line-height: 1;
    transition: background 0.1s, color 0.1s;
}
#notebook-content .text-card .fmt-btn:hover {
    background: rgba(128,128,128,0.1);
    color: var(--text-color);
    border-color: transparent;
}
#notebook-content .text-card .fmt-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}
.fmt-x2 { position: relative; font-size: 1em; line-height: 1; white-space: nowrap; }
.fmt-2-sub, .fmt-2-sup { font-size: 0.65em; position: relative; }
.fmt-2-sub { top: 0.4em; }
.fmt-2-sup { top: -0.5em; }
#notebook-content .text-card .fmt-sep {
    width: 100%;
    height: 1px;
    background: rgba(128,128,128,0.15);
    padding: 0;
    margin: 2px 0;
    font-size: 0;
    overflow: hidden;
}

.text-editor {
    flex: 1;
    padding: 6px 8px;
    outline: none;
    font-size: 0.9em;
    overflow-y: auto;
    line-height: 1.5;
    color: var(--text-color);
    min-height: 80px;
    cursor: text;
    word-wrap: break-word;
}
.text-editor[contenteditable="false"] { cursor: default; }
#notebook-content .text-card:not(.text-focused) .text-editor { cursor: default; }
#notebook-content .text-card:not(.text-focused):active .text-editor { cursor: grabbing; }
#notebook-content .text-editor { overflow-y: hidden; }
.text-editor:empty::before {
    content: 'Start typing…';
    color: var(--text-light);
    pointer-events: none;
}

.text-editor p {
    margin: 0 0 0.5em 0;
}
.text-editor p:last-child {
    margin-bottom: 0;
}

/* Rich content inside text cards */
.text-editor h3 {
    font-size: 1.1em;
    margin: 0 0 8px 0;
    color: var(--text-color);
}
.text-editor h4 {
    font-size: 0.95em;
    margin: 12px 0 6px 0;
    color: var(--text-color);
}
.text-editor table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 10px 0;
    font-size: 0.9em;
}
.text-editor th,
.text-editor td {
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    text-align: left;
}
.text-editor th {
    background: var(--bg-color);
    font-weight: 600;
    font-size: 0.85em;
    color: var(--text-muted);
}
.text-editor ol,
.text-editor ul {
    margin: 4px 0 10px 0;
    padding-left: 22px;
}
.text-editor li {
    margin-bottom: 3px;
}
/* Nested list marker styles: L1 numbers, L2 letters, L3 roman, repeat */
.text-editor ul { list-style-type: decimal; }
.text-editor ul ul { list-style-type: lower-alpha; }
.text-editor ul ul ul { list-style-type: lower-roman; }
.text-editor ul ul ul ul { list-style-type: decimal; }
.text-editor ul ul ul ul ul { list-style-type: lower-alpha; }
.text-editor ul ul ul ul ul ul { list-style-type: lower-roman; }

/* ── Link card on canvas ── */
.link-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: visible;
    min-width: 200px;
}
.link-card .link-url-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 10px;
    font-size: 0.85em;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    background: transparent;
    color: var(--text-color);
    box-sizing: border-box;
    outline: none;
    margin: 0;
    border-radius: 0;
}
.link-card .link-url-input:focus {
    border-bottom-color: var(--primary-color);
}
.link-card .link-url-input::placeholder {
    color: var(--text-light);
}
.link-card .link-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.link-card .link-display {
    display: block;
    padding: 8px 10px;
    font-size: 0.85em;
    color: var(--link-color);
    text-decoration: underline;
    word-break: break-all;
    flex: 1;
    min-width: 0;
}
.link-card .link-edit-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px 8px;
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
}
.link-card .link-edit-btn:hover {
    color: var(--text-color);
    background: rgba(128,128,128,0.1);
}
.link-card .link-invalid {
    color: var(--danger-color);
    font-size: 0.78em;
    padding: 4px 10px;
}

/* ── Table card on canvas ── */
.table-card {
    display: flex;
    flex-direction: column;
    cursor: text;
    background: var(--bg-white);
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.table-card:hover,
.table-card.table-focused {
    border: 1px dashed var(--border-color);
}
.table-card .resize-handle { display: none; }
.table-card:hover .resize-handle,
.table-card.table-focused .resize-handle { display: block; }

/* Drag handle reuse */
.table-card .text-drag-handle { display: none; }
.table-card:hover .text-drag-handle,
.table-card.table-focused .text-drag-handle { display: flex; }

.table-card-body {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: visible;
}

.canvas-table {
    display: grid;
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 0.85em;
    border: 1px solid var(--text-muted);
}
.ct-cell {
    border: 1px solid var(--text-muted);
    padding: 4px 6px;
    text-align: left;
    outline: none;
    min-width: 40px;
    word-wrap: break-word;
    overflow: hidden;
    background: var(--bg-white);
    position: relative;
}
.ct-header {
    background: #444;
    font-weight: 600;
    font-size: 0.92em;
    color: #fff;
    border: 1px solid #444;
    border-left-color: #999;
    border-right-color: #999;
}
.ct-header-row .ct-cell:first-child {
    border-left-color: #444;
}
.ct-header-row .ct-cell:last-child {
    border-right-color: #444;
}

/* Row & column delete buttons */
/* Multi-cell selection highlight */
.ct-cell.ct-selected {
    background: rgba(66, 133, 244, 0.15) !important;
    box-shadow: inset 0 0 0 1.5px rgba(66, 133, 244, 0.5);
}

/* Table dimensions popover */
.table-popover {
    position: absolute;
    width: 180px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 12px;
    z-index: 22;
}
.table-popover input[type="number"] {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9em;
    box-sizing: border-box;
}

/* Draw-mode for new notebook text cards 2 */
#notebook-content.draw-mode,
#notebook-content.draw-mode * {
    cursor: crosshair !important;
}

#draw-rect-ghost {
    position: absolute;
    border: 2px dashed var(--primary-color);
    background: rgba(168, 223, 142, 0.08);
    pointer-events: none;
    z-index: 50;
    border-radius: 2px;
}

/* Special characters panel */
.special-chars-panel {
    position: fixed;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 8px 10px;
    z-index: 2000;
    width: 300px;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}
.char-group-label {
    font-size: 0.65em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin: 6px 0 3px;
    font-weight: bold;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border-color);
}
.char-group-label:first-child { margin-top: 0; }
.char-btn {
    background: none;
    border: 1px solid transparent;
    padding: 2px 4px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.95em;
    width: auto;
    color: var(--text-color);
    line-height: 1.4;
    min-width: 26px;
    text-align: center;
}
.char-btn:hover { border-color: var(--primary-color); background: var(--bg-color); }

/* ── Plate Map ───────────────────────────────────────────────────────────── */

/* Mini plate visualization in the bench */
.platemap-mini {
    display: grid;
    grid-template-columns: repeat(var(--pm-cols), 1fr);
    gap: 2px;
    padding: 8px;
}
.pm-well {
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--border-color);
    min-width: 0;
}
.pm-well-filled { background: var(--primary-color); }

/* Full plate table in the notebook canvas */
#notebook-content .platemap-container {
    flex: 1;
    overflow: auto;
    min-height: 0;
}
.platemap-table {
    border-collapse: collapse;
    white-space: nowrap;
}
.platemap-table th {
    background: var(--card-header-bg);
    color: var(--text-muted);
    padding: 2px 4px;
    text-align: center;
    font-size: 0.68em;
    font-weight: 700;
    border: 1px solid var(--border-color);
    min-width: 52px;
}
.platemap-table td { border: 1px solid var(--border-color); padding: 0; }
.platemap-table td:not(.row-header):focus-within {
    background: rgba(184,78,130,0.12);
    outline: 2px solid var(--primary-color);
    outline-offset: -1px;
}
.platemap-table .row-header {
    background: var(--card-header-bg);
    color: var(--text-muted);
    padding: 2px 4px;
    font-size: 0.68em;
    font-weight: 700;
    text-align: center;
    min-width: 0;
    width: 1px; /* collapse to content width */
    white-space: nowrap;
}
.platemap-cell-wrap { display: block; width: 100%; }
.platemap-cell-wrap input {
    margin: 0;
}
.platemap-cell {
    display: block;
    height: 22px;
    border: none;
    outline: none;
    padding: 0 3px;
    text-align: center;
    font-size: 0.72em;
    font-family: inherit;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}
.platemap-cell-top { background: var(--pm-cell-top, #dcdcdc); border-bottom: 1px solid var(--border-color); }
.platemap-cell-bot { background: var(--pm-cell-bot, #f0f0f0); }
[data-theme="dark"] { --pm-cell-top: #3a3a3e; --pm-cell-bot: #2e2e32; }
.platemap-cell-top.pm-selected { background: rgba(184,78,130,0.28); }
.platemap-cell-bot.pm-selected { background: rgba(184,78,130,0.15); }
.platemap-table td.pm-border-top    { border-top:    2px solid var(--primary-color); }
.platemap-table td.pm-border-bottom { border-bottom: 2px solid var(--primary-color); }
.platemap-table td.pm-border-left   { border-left:   2px solid var(--primary-color); }
.platemap-table td.pm-border-right  { border-right:  2px solid var(--primary-color); }
.platemap-table td[class*="pm-border"]:focus-within { background: transparent; outline: none; }
.platemap-384 .platemap-cell { font-size: 0.65em; height: 16px; }
.platemap-cell:focus { background: rgba(184,78,130,0.08); outline: none; }

/* Plate map modal */
.platemap-modal-content {
    max-width: 860px;
    width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.plate-size-selector {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 16px;
    flex-shrink: 0;
}
.plate-size-btn {
    padding: 7px 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.88em;
    font-weight: 500;
    white-space: nowrap;
    width: auto;
    border-radius: 0;
}
.plate-size-btn:hover { color: var(--text-color); background: none; }
.plate-size-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}
.dilution-series-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dilution-series-btn:hover { opacity: 0.85; }
#dil-popup {
    display: none;
    position: fixed;
    z-index: 1200;
}
#dil-form-inner {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 10px 12px;
    min-width: 190px;
}
.dil-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.1em;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 4px;
    width: auto;
}
.dil-close-btn:hover { color: var(--danger-color); }
.dil-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
}
.dil-insert-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 12px;
    font-size: 0.85em;
    cursor: pointer;
}
.dil-insert-btn:hover { opacity: 0.85; }
.platemap-modal-table-wrap {
    flex: 1;
    overflow: auto;
    margin-bottom: 16px;
    min-height: 120px;
}
/* Dilution series form */
.dil-field { margin-bottom: 10px; }
.dil-field label { display: block; font-size: 0.82em; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.dil-field input[type="number"], .dil-field select {
    padding: 4px 6px; border: 1px solid var(--border-color); border-radius: 5px;
    font-size: 0.88em; background: var(--bg-color); color: var(--text-color);
    height: 28px; box-sizing: border-box;
}
.dil-conc-row { display: flex; gap: 6px; align-items: center; }
.dil-conc-row input { width: 70px; flex: none; }
.dil-conc-row select { width: 68px; }
.dil-field input[type="number"] { width: 80px; box-sizing: border-box; }
.dil-dir-group { display: flex; gap: 6px; }
.dil-dir-btn {
    width: 32px; height: 30px; font-size: 1em; border-radius: 6px;
    border: 1px solid var(--border-color); background: var(--bg-color);
    color: var(--text-color); cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.dil-dir-btn.active {
    background: var(--primary-color); color: #fff; border-color: var(--primary-color);
}
.dil-dir-btn:hover:not(.active) { background: var(--card-header-bg); }
#platemap-modal .platemap-table th { min-width: 60px; }
#platemap-modal .platemap-cell { font-size: 0.78em; height: 26px; }
#notebook-content .platemap-384 .platemap-table th { min-width: 34px; }
#platemap-modal .platemap-384 .platemap-table th { min-width: 40px; }
#platemap-modal .platemap-384 .platemap-cell { font-size: 0.7em; height: 20px; }

/* ── Share Panel (dropdown under toolbar button) ──────────────── */
.share-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 14px;
    z-index: 100;
}
.share-panel-row {
    display: flex;
}
.share-url-input {
    width: 100%;
    padding: 7px 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8em;
    background: var(--bg-color);
    box-sizing: border-box;
    color: var(--text-color);
    transition: opacity 0.2s;
}
.share-copy-btn {
    width: 100%;
    margin-top: 6px;
    padding: 6px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.85em;
    cursor: pointer;
    transition: opacity 0.2s;
}
.share-copy-btn:hover:not(:disabled) { background: var(--border-color); }

/* Toggle slider */
.share-toggle {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}
.share-toggle input { opacity: 0; width: 0; height: 0; }
.share-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 20px;
    transition: background 0.2s;
}
.share-toggle-slider::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.share-toggle input:checked + .share-toggle-slider {
    background: var(--primary-color);
}
.share-toggle input:checked + .share-toggle-slider::before {
    transform: translateX(16px);
}

/* ── Shared Experiment View ────────────────────────────────────── */
body.shared-view {
    overflow: auto;
    background: #e8e4de;
    display: block;
    height: auto;
}
.shared-header {
    background: linear-gradient(135deg, var(--navbar-bg) 0%, #3a6e45 100%);
    color: var(--bg-white);
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.shared-badge {
    font-size: 0.8em;
    background: rgba(255,255,255,0.18);
    padding: 3px 10px;
    border-radius: 10px;
    margin-left: auto;
}

.shared-page {
    width: 800px;
    margin: 30px auto;
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border-radius: 4px;
    overflow: hidden;
}

.shared-page-header {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: var(--text-muted);
    background: var(--bg-color);
    height:50px;
}

.shared-page-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.shared-page-meta strong {
    color: var(--text-color);
}

.shared-page-number {
    font-weight: 600;
}

.shared-page-canvas {
    position: relative;
    height: 1060px;
    overflow: hidden;
    background-image:
        linear-gradient(to right, var(--grid-color, rgba(0,0,0,0.12)) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color, rgba(0,0,0,0.12)) 1px, transparent 1px);
    background-size: 20px 20px;
}

.shared-page-canvas-inner {
    position: relative;
    width: 100%;
}

/* Cards in shared view are non-interactive */
.shared-view .card {
    cursor: default;
}

.shared-view .text-card {
    border: 1px dashed var(--border-color);
}

.shared-view .delete-btn,
.shared-view .resize-handle,
.shared-view .text-toolbar,
.shared-view .text-drag-handle,
.shared-view .card-caption { display: none; }

.shared-view .text-editor {
    cursor: default;
    min-height: unset;
}

/* Print styles */
@media print {
    body.shared-view { background: white; }
    .shared-header { display: none; }
    .shared-page {
        box-shadow: none;
        margin: 0;
        border-radius: 0;
        page-break-after: always;
        width: 100%;
    }
    .shared-page:last-child { page-break-after: auto; }
    .shared-page-canvas { background-image: none; }
}

