/* StudiAI 6.9 – Lernplan, Suche, Benachrichtigungen, Notizen und Papierkorb */
.header-icon-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line,#263b55);border-radius:13px;color:var(--text,#e7eef9);background:var(--panel-soft,#0b1a2b);transition:.18s ease}
.header-icon-link:hover{transform:translateY(-1px);border-color:#3b82f6;background:#10233a}.header-icon-link .ui-icon{width:20px;height:20px}.notification-badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid var(--panel,#0a1626)}
.study-plan-top .card{height:100%}.study-plan-list-item{border-radius:13px;margin:6px 0;padding:14px}.study-plan-list-item.is-active{background:rgba(37,99,235,.12);border-color:rgba(59,130,246,.45)}
.study-plan-progress{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px;align-items:center;margin:20px 0}.study-plan-progress>span{grid-column:1/-1;color:var(--muted,#9db0c9);font-size:14px}.study-plan-progress .progress{height:12px}.study-plan-today a{font-weight:800}
.study-plan-day-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.study-plan-day{border:1px solid var(--line,#263b55);background:var(--panel-soft,#0b1a2b);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:7px;min-height:150px}.study-plan-day time{font-size:13px;color:var(--muted,#9db0c9);text-transform:uppercase;font-weight:800}.study-plan-day strong{font-size:20px}.study-plan-day span{font-size:13px;color:var(--muted,#9db0c9)}.study-plan-day.is-today{border:2px solid #3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.study-plan-day.is-done{border-color:rgba(34,197,94,.5);background:rgba(34,197,94,.08)}.study-plan-day-actions{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap}.study-plan-day-actions form{margin:0}
.notification-list{padding:18px}.notification-item{display:grid;grid-template-columns:44px 1fr;gap:13px;padding:16px 10px;border-bottom:1px solid var(--line,#263b55);opacity:.75}.notification-item:last-child{border-bottom:0}.notification-item.is-unread{opacity:1;background:rgba(37,99,235,.07);border-radius:14px}.notification-icon{width:42px;height:42px;border-radius:12px;background:rgba(59,130,246,.15);color:#60a5fa;display:flex;align-items:center;justify-content:center}.notification-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.notification-heading time{font-size:12px;color:var(--muted,#9db0c9);white-space:nowrap}.notification-item p{margin:7px 0 10px;color:var(--muted,#9db0c9)}.notification-actions{display:flex;gap:8px}.notification-actions form{margin:0}
.search-hero{margin-bottom:22px}.global-search-field{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px}.global-search-field>input{font-size:18px;min-height:52px;border:0;background:transparent;box-shadow:none;padding:0}.global-search-field>input:focus{outline:none}.search-result-card{display:block;color:inherit}.search-result-card h3{margin:14px 0 8px}.search-result-link{display:flex;gap:7px;align-items:center;color:#60a5fa;font-weight:800}.search-result-link .ui-icon{width:18px}.search-question-row{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding:16px;border-bottom:1px solid var(--line,#263b55);color:inherit}.search-question-row:last-child{border-bottom:0}.search-question-row strong,.search-question-row small{display:block;margin-top:7px}.search-question-row small{color:var(--muted,#9db0c9)}.search-suggestions .card>span{display:flex;width:48px;height:48px;border-radius:14px;align-items:center;justify-content:center;background:rgba(59,130,246,.12);color:#60a5fa}
.trash-item{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line,#263b55)}.trash-item:last-child{border-bottom:0}.trash-icon{display:flex;width:46px;height:46px;border-radius:13px;align-items:center;justify-content:center;background:rgba(239,68,68,.1);color:#f87171}.trash-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.trash-copy p{margin:6px 0 0}.trash-actions{display:flex;gap:8px;flex-wrap:wrap}.trash-actions form{margin:0}
.study-modal-backdrop{position:fixed;inset:0;background:rgba(1,8,18,.78);backdrop-filter:blur(8px);z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px}.study-modal-backdrop[hidden]{display:none}.study-modal-card{width:min(650px,100%);max-height:90vh;overflow:auto;background:var(--panel,#102038);color:var(--text,#eef4ff);border:1px solid var(--line,#2a405d);border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.45);padding:22px}.study-modal-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.study-modal-card h2{margin:3px 0}.study-modal-close{width:40px;height:40px;border:1px solid var(--line,#2a405d);border-radius:12px;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}.study-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.study-modal-open{overflow:hidden}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.header-icon-link{width:38px;height:38px}.study-plan-progress{grid-template-columns:1fr auto}.global-search-field{grid-template-columns:24px 1fr}.global-search-field .btn{grid-column:1/-1;width:100%}.trash-item{grid-template-columns:42px 1fr}.trash-actions{grid-column:1/-1}.notification-heading{display:block}.notification-heading time{display:block;margin-top:4px}.study-modal-card{padding:18px}.study-modal-actions{flex-direction:column}.study-modal-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.header-icon-link{transition:none}}
.note-card{display:flex;flex-direction:column;gap:12px}.note-card h3{margin:0}.note-text{padding:14px;border-radius:13px;border:1px solid var(--line,#263b55);background:rgba(59,130,246,.07);white-space:normal;line-height:1.6}.note-card .hero-actions{margin-top:auto}.note-card .hero-actions form{margin:0}
