/* v2.3.2: catalogue and document actions only. Core theme unchanged. */
.material-card .note-thumb{width:100%;display:flex;align-items:center;justify-content:center;background:#edf3ef;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:12px;height:235px}.material-card .note-thumb img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.material-card h3{margin-top:7px}.material-card p{overflow-wrap:anywhere}.material-card .note-bottom{padding:8px 0 0}.material-actions{width:100%;display:grid;grid-template-columns:1fr 1.25fr;gap:7px;margin-top:10px}.material-actions .btn{font-size:.88rem;padding:10px 6px;min-height:44px;white-space:normal;text-align:center}.material-extra{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:9px;font-size:.85rem}.material-save{color:var(--green);background:none;border:0;padding:8px;font-weight:650}.material-save[aria-pressed=true]{background:var(--accent);border-radius:8px}.material-toolbar,.material-bulk{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0;color:var(--muted);font-size:.87rem}.material-toolbar a{font-weight:700}.material-toolbar .btn{font-size:.84rem}.material-bulk .btn{white-space:normal}.material-list .notes-grid{grid-template-columns:1fr}.material-list .material-card{display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:18px;align-items:start}.material-list .note-thumb{grid-row:1/span 8;height:190px;margin:0}.material-list .material-card>:not(.note-thumb){grid-column:2}.material-list .material-actions{max-width:440px}.material-list .material-extra{max-width:440px}.material-preview{padding:0;border:1px solid var(--line);border-radius:16px;width:min(850px,96vw);max-height:94vh;color:var(--ink);background:var(--bg);overflow:auto}.material-preview::backdrop{background:#132922c9}.mp-head,.mp-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 16px;background:white;border-bottom:1px solid var(--line)}.mp-head h2{font-size:1.1rem;margin:0;flex:1}.mp-tools .btn,.mp-head .btn{font-size:.85rem;padding:9px 12px;min-height:44px;white-space:normal}.mp-stage{padding:16px;overflow:auto;max-height:60vh;min-height:160px;background:#e7eee9;text-align:center}.mp-stage img{max-width:100%;width:auto;height:auto;max-height:58vh;object-fit:contain;background:white;box-shadow:0 2px 8px #163b3122}.mp-stage.mp-large img{max-height:none;max-width:none;width:140%}.mp-status{margin:0;padding:8px 16px;font-size:.84rem;color:var(--muted)}.mp-stage pre{white-space:pre-wrap;text-align:left}.pagination .btn{min-height:44px}.document-actions .btn{white-space:normal}.document-actions{gap:8px}.material-toolbar [hidden]{display:none!important}@media(max-width:620px){.material-card .note-thumb{height:205px}.material-actions{grid-template-columns:1fr 1fr}.material-list .material-card{grid-template-columns:88px minmax(0,1fr);gap:8px}.material-list .note-thumb{height:124px}.material-list .material-card h3{font-size:16px}.mp-stage{max-height:53vh;padding:8px}.mp-stage img{max-height:50vh}.mp-head,.mp-tools{padding:8px}.material-preview{width:98vw;max-height:96vh}.mp-tools .btn{font-size:.8rem;padding:8px}.material-toolbar{align-items:flex-start}.material-bulk{padding:12px}.material-bulk .btn{width:100%}}@media print{body:has(.material-preview[open])>*:not(.material-preview){display:none!important}body:has(.material-preview[open]) .material-preview{position:static;display:block;border:0;max-height:none;width:100%;overflow:visible}body:has(.material-preview[open]) .mp-head,body:has(.material-preview[open]) .mp-tools,body:has(.material-preview[open]) .mp-status{display:none!important}body:has(.material-preview[open]) .mp-stage{background:white;overflow:visible;max-height:none;padding:0}body:has(.material-preview[open]) .mp-stage img{width:auto;max-width:100%;height:auto;max-height:255mm;box-shadow:none}}
