/* Seitenspezifische Styles für notes.html (Grundgerüst wie settings.html) */

/* ---- Seitenstil ---- */
.syncbar{position:sticky;top:0;z-index:100;background:#fff;padding:max(10px,env(safe-area-inset-top)) 16px 10px}.headrow{margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;}.headrow h1{font-size:1.25rem;margin:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.syncstatus{display:flex;align-items:center;gap:9px;min-width:0;font-size:.92rem}.dot{width:11px;height:11px;border-radius:50%;background:#888888;flex:none}html.settings-static,html.settings-static body{height:var(--settings-vh,100dvh);overflow:hidden!important;overscroll-behavior:none!important}html.settings-static body{position:fixed;inset:0;width:100%;display:flex;flex-direction:column}.back-btn {border:1px solid var(--smartcart-black);background:#fff;color:var(--smartcart-black);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:7px;font:inherit;font-weight:600;cursor:pointer}.menu{border-top:0}.menu a{display:flex;align-items:center;gap:14px;padding:16px 6px;border-bottom:1px solid #bbb;color:var(--smartcart-black);text-decoration:none;font-size:1.05rem}.menu a:last-child{border-bottom:0}.icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--smartcart-black)}.icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.article-cart-icon{transform:scaleX(-1)}.arrow{margin-left:auto;color:#555;font-size:1.35rem}.hidden-panel{display:none}.hidden-panel.open{display:block;border:1px solid var(--smartcart-black);border-radius:7px;padding:14px;margin-top:16px;min-height:72px}.hidden-panel .syncstatus{height:24px}.secret-info{
  margin-top:10px;
  border-top:1px solid #bbb;
  padding-top:8px;
  font-size:.88rem;
  line-height:1.3
}
.secret-info .info-block{margin-bottom:12px}
.secret-info .label{display:block;font-weight:600;margin-bottom:3px}
.secret-info .value{display:block;min-width:0;text-align:left;overflow-wrap:anywhere;word-break:break-word}
.secret-info .traffic-value{font-variant-numeric:tabular-nums;white-space:normal}
.secret-info .url-row{display:flex;align-items:flex-start;gap:10px}
.secret-info .url-value{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;word-break:break-word}
.secret-info .copy-url-btn{flex:0 0 auto;border:1px solid #aaa;border-radius:7px;background:#fff;padding:5px 9px;font:inherit;color:var(--smartcart-black);box-shadow:var(--sc-shadow)}
.secret-info .secret-separator{border-top:1px solid #bbb;margin:14px 0 6px}
.secret-info .secret-database a{display:flex;align-items:center;gap:14px;padding:8px 6px;color:var(--smartcart-black);text-decoration:none;font-size:1.05rem}
.secret-info .secret-database .arrow{margin-left:auto}.secret-resync{margin:8px 0 12px}.secret-resync-btn{width:100%;border:1px solid #c62828;border-radius:7px;background:#c62828;color:#fff;padding:10px 12px;font:inherit;font-weight:700;cursor:pointer;box-shadow:var(--sc-shadow)}.secret-resync-btn:disabled{opacity:.65;cursor:wait}.secret-resync-status{min-height:1.2em;margin-top:7px;font-size:.82rem;color:#666}
html.settings-static .syncbar{flex:none}html.settings-static main{width:100%;max-width:760px;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}html.settings-static .menu{flex:none}html.settings-static .hidden-panel.open{display:block;flex:none;min-height:72px;overflow:visible}

/* v552: Merkzettel / Rezepte */
.notes-add{display:block;width:100%;margin:4px 0 14px;font:inherit;font-weight:600;padding:12px 16px;border-radius:7px;border:0;cursor:pointer;background:#3A83F7!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#3A83F7!important}
.menu a .note-title{display:flex;flex-direction:column;min-width:0}
.menu a .note-title small{font-size:.8rem;color:#888;font-weight:400;margin-top:2px}
.notes-empty,.notes-note{margin:14px 6px 0;color:#777;font-size:.95rem}
html[data-theme="dark"] .notes-empty,html[data-theme="dark"] .notes-note,html[data-theme="dark"] .menu a .note-title small{color:#9e9e9e}
.note-name-input{width:100%;box-sizing:border-box;font:inherit;padding:10px 12px;border:1px solid #bbb;border-radius:7px}
html[data-theme="dark"] .note-name-input{background:#2a2a2a;color:#f1f1f1;border-color:#555}
.modal-backdrop{position:fixed;inset:0;z-index:500;background:rgba(0,0,0,.38);display:none;align-items:center;justify-content:center;padding:20px}
.modal-backdrop.open{display:flex}
.modal{width:min(430px,100%);background:#fff;border-radius:7px;padding:20px;box-shadow:0 14px 45px rgba(0,0,0,.28)}
.modal h2{margin:0 0 18px;font-size:1.2rem}
.modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}
.modal-actions button{font:inherit;padding:10px 14px;border-radius:7px;border:1px solid #aaa;background:#f5f5f5;width:100%;cursor:pointer}

html body button#addNote.notes-add,html[data-theme="dark"] body button#addNote.notes-add{background:#3A83F7!important;background-color:#3A83F7!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#3A83F7!important}
