/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.office-memo-container{max-width:100%;margin:0 auto;padding:16px}
.office-memo-head{margin-bottom:14px}
.office-memo-title{font-size:20px;font-weight:700;color:var(--text-1,#1f2937)}
.office-memo-subtitle{font-size:13px;color:var(--text-3,#94a3b8);margin-top:4px}
.office-memo-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.office-memo-btn{padding:8px 14px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.office-memo-btn:hover{background:var(--primary-light)}

.office-memo-btn-primary{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}
.office-memo-btn-primary:hover{background:var(--primary-light);color:var(--primary)}

.office-memo-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.office-memo-note{border-radius:6px;padding:14px 14px 12px;min-height:160px;display:flex;flex-direction:column;box-shadow:0 2px 6px rgba(0,0,0,.1);position:relative;transition:transform .15s,box-shadow .15s}
.office-memo-note:hover{transform:rotate(0deg) scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:2}
.office-memo-note.c-yellow{background:#fff9c4}
.office-memo-note.c-pink{background:#fce4ec}
.office-memo-note.c-blue{background:#e3f2fd}
.office-memo-note.c-green{background:#e8f5e9}
.office-memo-note.c-purple{background:#f3e5f5}
.office-memo-note.c-orange{background:#fff3e0}
.office-memo-note.pinned{border-top:4px solid var(--error,#dc2626)}
.office-memo-pin{position:absolute;top:8px;right:10px;width:22px;height:22px;border:none;border-radius:50%;background:rgba(0,0,0,.12);color:#555;cursor:pointer;font-size:12px;line-height:22px;text-align:center;padding:0}
.office-memo-pin.on{background:var(--error,#dc2626);color:#fff}
.office-memo-title-input{width:100%;border:none;background:transparent;font-size:15px;font-weight:700;color:var(--text-1,#1f2937);outline:none;margin-bottom:8px;padding-right:24px;font-family:inherit}
.office-memo-content-input{width:100%;border:none;background:transparent;font-size:13px;color:var(--text-2,#444);outline:none;resize:none;flex:1;min-height:80px;font-family:inherit;line-height:1.5}
.office-memo-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.office-memo-swatches{display:flex;gap:5px}
.office-memo-swatch{width:16px;height:16px;border-radius:50%;cursor:pointer;border:2px solid rgba(0,0,0,.15);padding:0}
.office-memo-swatch[data-color="yellow"]{background:#fff9c4}
.office-memo-swatch[data-color="pink"]{background:#fce4ec}
.office-memo-swatch[data-color="blue"]{background:#e3f2fd}
.office-memo-swatch[data-color="green"]{background:#e8f5e9}
.office-memo-swatch[data-color="purple"]{background:#f3e5f5}
.office-memo-swatch[data-color="orange"]{background:#fff3e0}
.office-memo-del{border:none;background:transparent;color:#888;cursor:pointer;font-size:12px;padding:2px 6px}
.office-memo-del:hover{color:var(--error,#dc2626)}
.office-memo-empty{grid-column:1/-1;padding:40px;text-align:center;color:var(--text-3,#94a3b8);font-size:13px}
.office-memo-message{margin-top:14px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.office-memo-message.show{display:block}
.office-memo-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.office-memo-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.office-memo-footer{margin-top:18px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8);display:flex;justify-content:space-between;align-items:center}
.office-memo-footer-right{margin-left:auto}
@media(max-width:640px){
  .office-memo-container{padding:10px}
  .office-memo-wall{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
  .office-memo-toolbar{gap:6px}
  .office-memo-btn{flex:1 1 auto;text-align:center}
  .office-memo-footer{flex-direction:column;gap:4px;text-align:center}
}
