/* =========================================================== 아리 — 알림 트리아지 · phase-9 이식 (design-reference/assets/notify.css) 공유 dash 기본 클래스(.pagehead/.work/.board/.card/.ch/.ico/.htext/.count)는 dash-base.css 에서 가져온다(재스코프 X). 페이지 전용 새 클래스만 .notifypage 로 스코프. notify.css 는 원본에 :root 가 없다. =========================================================== */ @import "./dash-base.css"; .notifypage .ic { width: 1em; height: 1em; flex-shrink: 0; display: block; } /* 보드 — 원본은 2-card(sp2 r2 + sp2) 2열 레이아웃 */ .notifypage .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 760px) { .notifypage .board { grid-template-columns: 1fr; } .notifypage .card.sp2 { grid-column: 1; } .notifypage .card.r2 { grid-row: auto; } } /* 에러 폴백 (dashboard.css 미로드 — 최소 스타일) */ .notifypage .dash-error { margin: 40px auto; max-width: 360px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); } .notifypage .mini-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--on-fill); background: var(--fill); padding: 9px 16px; border-radius: 999px; } .notifypage .mini-cta .ic { width: 15px; height: 15px; } /* ---------- 토글 스위치 ---------- */ .notifypage .sw { width: 42px; height: 24px; border-radius: 999px; background: var(--card-3); border: 1px solid var(--line-2); position: relative; flex-shrink: 0; padding: 0; transition: background 0.18s, border-color 0.18s; } .notifypage .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22); transition: transform 0.18s; } .notifypage .sw.on { background: var(--green); border-color: var(--green); } .notifypage .sw.on::after { transform: translateX(18px); } /* ---------- 트리아지 탭 ---------- */ .notifypage .nt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .notifypage .nt-tab { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--glass-2); border: 1px solid var(--glass-brd); padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background 0.15s, color 0.15s; } .notifypage .nt-tab:hover { color: var(--ink); } .notifypage .nt-tab .n { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--muted); } .notifypage .nt-tab.on { background: var(--fill); color: var(--on-fill); border-color: var(--fill); } .notifypage .nt-tab.on .n { color: var(--on-fill); opacity: 0.7; } .notifypage .nt-cap { font-size: 12px; color: var(--muted); margin: 4px 2px 10px; line-height: 1.5; } /* ---------- 알림 스트림 ---------- */ .notifypage .nt-list { display: flex; flex-direction: column; } .notifypage .nt-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); } .notifypage .nt-row:first-child { border-top: none; padding-top: 4px; } .notifypage .nt-ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-brd); } .notifypage .nt-ic .ic { width: 16px; height: 16px; } .notifypage .nt-body { flex: 1; min-width: 0; } .notifypage .nt-app { font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; } .notifypage .nt-why { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; } .notifypage .nt-title { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; line-height: 1.35; } .notifypage .nt-sum { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; } .notifypage .nt-acts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; } .notifypage .nt-act { font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 9px; background: var(--fill); color: var(--on-fill); white-space: nowrap; transition: filter 0.14s; } .notifypage .nt-act:hover { filter: brightness(1.1); } .notifypage .nt-act.ghost { background: var(--glass-2); border: 1px solid var(--glass-brd); color: var(--ink-2); } .notifypage .nt-act.ghost:hover { filter: none; background: var(--card-2); color: var(--ink); } .notifypage .nt-time { font-size: 11px; color: var(--faint); font-family: var(--font-mono); flex-shrink: 0; padding-top: 3px; white-space: nowrap; } .notifypage .nt-more { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; padding: 10px; border-radius: 11px; background: var(--glass-2); border: 1px dashed var(--line-2); } .notifypage .nt-empty { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 14px 2px; } .notifypage .nt-empty .ic { width: 15px; height: 15px; color: var(--green); } /* ---------- 집중 보호 · 묶음 배달 ---------- */ .notifypage .gd-hold { display: flex; gap: 11px; align-items: center; padding: 13px; border-radius: var(--radius-sm); background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 70%), var(--glass-2); border: 1px solid color-mix(in oklab, var(--coral) 30%, var(--glass-brd)); margin-bottom: 6px; } .notifypage .gd-hold.off { background: var(--glass-2); border-color: var(--glass-brd); } .notifypage .gd-ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--coral) 16%, transparent); color: var(--coral); } .notifypage .gd-hold.off .gd-ic { background: var(--card-2); color: var(--muted); } .notifypage .gd-ic .ic { width: 17px; height: 17px; } .notifypage .gd-body { flex: 1; min-width: 0; } .notifypage .gd-t { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; } .notifypage .gd-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; } .notifypage .gd-quiet { display: flex; align-items: center; gap: 9px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); } .notifypage .gd-quiet .ic { width: 15px; height: 15px; color: var(--violet); flex-shrink: 0; } .notifypage .gd-quiet b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); } .notifypage .gd-quiet .hint { margin-left: auto; font-size: 11px; color: var(--faint); } .notifypage .dg2-list { display: flex; flex-direction: column; margin-top: 2px; } .notifypage .dg2-row { display: flex; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); } .notifypage .dg2-row:last-child { border-bottom: none; padding-bottom: 2px; } .notifypage .dg2-row.done { opacity: 0.5; } .notifypage .dg2-time { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); width: 44px; flex-shrink: 0; } .notifypage .dg2-body { flex: 1; min-width: 0; } .notifypage .dg2-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; } .notifypage .dg2-desc { font-size: 11px; color: var(--muted); margin-top: 1px; } .notifypage .dg2-n { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--ink-2); background: var(--glass-2); border: 1px solid var(--glass-brd); padding: 2px 9px; border-radius: 999px; flex-shrink: 0; } .notifypage .gd-sec { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); margin: 14px 0 4px; } /* ---------- 발신자 규칙 ---------- */ .notifypage .sd-list { display: flex; flex-direction: column; } .notifypage .sd-row { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); } .notifypage .sd-row:first-child { border-top: none; padding-top: 4px; } .notifypage .sd-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; } .notifypage .sd-who { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; flex: 1; min-width: 0; } .notifypage .sd-who span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; } .notifypage .sd-rule { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-brd); color: var(--ink-2); white-space: nowrap; } .notifypage .sd-note { margin-top: 12px; display: flex; gap: 9px; align-items: flex-start; background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; } .notifypage .sd-note .ic { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; margin-top: 1px; } /* ---------- 오늘 요약 그리드 ---------- */ .notifypage .nt-sumgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; } .notifypage .nt-sumcell { padding: 15px 16px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--glass-brd); } .notifypage .nt-sumcell.hi { background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 70%), var(--glass-2); border-color: color-mix(in oklab, var(--coral) 30%, var(--glass-brd)); } .notifypage .nt-sumcell b { font-family: var(--font-disp); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; display: block; } .notifypage .nt-sumcell span { font-size: 12px; color: var(--muted); margin-top: 2px; display: block; }