You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

262 lines
14 KiB
CSS

/* ===========================================================
아리 — 대시보드(벤토) · RON 디자인 언어
journey.css 의 토큰/상단바/레일/페이지헤더/패널/액션을 재사용하고
벤토 위젯 카드 스타일만 추가한다.
=========================================================== */
@import url("journey.css");
/* ===== 벤토 그리드 ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.bento .span2 { grid-column: span 2; }
/* ===== 위젯 카드 공통 ===== */
.wcard {
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
border-radius: var(--r-lg); box-shadow: var(--sh-card);
padding: 22px; display: flex; flex-direction: column; min-width: 0;
}
.whead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wicon {
width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
background: var(--card-2); color: var(--ink); display: grid; place-items: center;
}
.wicon .ic { width: 19px; height: 19px; }
.wtitle { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; }
.whead > div:not(.wicon) { min-width: 0; }
.wsub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.wtool {
margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
display: grid; place-items: center; color: var(--muted);
background: var(--card-2); flex-shrink: 0; transition: color 0.15s;
}
.wtool .ic { width: 16px; height: 16px; }
.wtool:hover { color: var(--ink); }
.wcount {
margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--ink-2);
background: var(--card-2); border-radius: 999px; padding: 4px 11px; flex-shrink: 0;
}
/* ===== 히어로 — 브리핑 + 명령 ===== */
.hero2 {
grid-column: span 2;
border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
border-radius: var(--r-xl); box-shadow: var(--sh-panel);
padding: 28px; display: flex; flex-direction: column;
background:
radial-gradient(96% 116% at 0% 0%, rgba(131, 162, 219, 0.30), transparent 56%),
radial-gradient(120% 120% at 100% 0%, rgba(206, 105, 105, 0.18), transparent 54%),
var(--panel);
}
.hero-spark {
display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
color: var(--blue-d); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--panel-brd);
border-radius: 999px; padding: 7px 14px; box-shadow: var(--sh-soft); white-space: nowrap;
}
.hero-spark .ic { width: 14px; height: 14px; }
.brief2 {
font-family: var(--font); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5;
font-weight: 500; letter-spacing: -0.02em; margin: 18px 0 0; color: var(--ink-2); max-width: 38ch;
}
.brief2 b { font-weight: 700; color: var(--ink); }
.qchips { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.qchip {
display: inline-flex; align-items: center; gap: 8px;
font-size: 12.5px; font-weight: 500; color: var(--ink-2);
background: rgba(255, 255, 255, 0.66); border: 1px solid var(--panel-brd);
border-radius: 999px; padding: 9px 14px; box-shadow: var(--sh-soft); white-space: nowrap;
transition: transform 0.13s, color 0.15s;
}
.qchip .ic { width: 14px; height: 14px; color: var(--blue-d); }
.qchip:hover { transform: translateY(-1px); color: var(--ink); }
.cmd2 {
margin-top: auto; display: flex; align-items: center; gap: 12px;
background: var(--card); border: 1px solid var(--line);
border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: var(--sh-card);
}
.cmd2 > .ic { width: 19px; height: 19px; color: var(--blue-d); flex-shrink: 0; }
.cmd2 input { flex: 1; border: none; background: none; outline: none; font-size: 14.5px; color: var(--ink); min-width: 0; }
.cmd2 input::placeholder { color: var(--faint); }
.cmd2 .send {
width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
background: var(--ink); color: #fff; display: grid; place-items: center;
transition: transform 0.13s;
}
.cmd2 .send .ic { width: 18px; height: 18px; }
.cmd2 .send:hover { transform: scale(1.05); }
/* ===== 일정 타임라인 ===== */
.tl { display: flex; flex-direction: column; flex: 1; }
.tl-row { display: flex; gap: 14px; padding: 11px 0; align-items: flex-start; }
.tl-time { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); width: 42px; flex-shrink: 0; padding-top: 1px; }
.tl-body { flex: 1; border-left: 2.5px solid var(--accent, var(--blue)); padding-left: 14px; min-width: 0; }
.tl-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.tl-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; gap: 9px; }
.tl-meta .dur { color: var(--faint); }
.tl-soon {
font-size: 11px; font-weight: 700; color: #fff; background: var(--red);
border-radius: 999px; padding: 2px 9px; align-self: center; flex-shrink: 0;
}
.tl-note {
margin-top: auto; display: flex; align-items: flex-start; gap: 9px;
background: var(--red-soft); border-radius: var(--r-sm); padding: 12px 14px;
font-size: 12px; color: var(--ink-2); line-height: 1.4;
}
.tl-note .ic { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
/* ===== 할 일 ===== */
.tlist { display: flex; flex-direction: column; flex: 1; }
.trow {
display: flex; align-items: center; gap: 12px; padding: 12px 0;
border-bottom: 1px solid var(--line); cursor: pointer;
}
.trow:last-child { border-bottom: none; }
.tbox {
width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent;
transition: all 0.14s;
}
.tbox .ic { width: 13px; height: 13px; }
.trow.done .tbox { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.tbody { flex: 1; min-width: 0; }
.tt2 { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.tm2 { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.trow.done .tt2 { color: var(--faint); text-decoration: line-through; }
.tnow {
font-size: 11px; font-weight: 700; color: #fff; background: var(--ink);
border-radius: 999px; padding: 3px 10px; flex-shrink: 0;
}
.tprio { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px; flex-shrink: 0; }
.tprio.high { color: var(--red); background: var(--red-soft); }
.tprio.mid { color: var(--blue-d); background: var(--blue-soft); }
.tprio.low { color: var(--muted); background: var(--card-2); }
/* ===== 집중도 차트 ===== */
.fstat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.fstat b { font-family: var(--font); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.fstat .u { font-size: 12px; color: var(--muted); }
.fstat .delta {
margin-left: auto; display: inline-flex; align-items: center; gap: 3px;
font-size: 11.5px; font-weight: 700; color: var(--blue-d);
background: var(--blue-soft); border-radius: 999px; padding: 4px 9px;
}
.fstat .delta .ic { width: 12px; height: 12px; }
.chart2 { margin-top: auto; }
.chart2 svg { width: 100%; height: 88px; display: block; }
.chart-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--faint); font-family: var(--font-mono); }
/* ===== 목표 ===== */
.goals2 { display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center; }
.goal2-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.goal2-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.goal2-pct { font-size: 12px; font-weight: 700; color: var(--ink-2); font-family: var(--font-mono); }
.gbar { height: 8px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.gbar i { display: block; height: 100%; border-radius: 999px; }
.gsub2 { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
/* ===== 미팅 준비 ===== */
.mtg-when { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.mtg-when b { color: var(--ink); }
.mtg-ppl { display: flex; align-items: center; margin-bottom: 14px; }
.mtg-ppl .av {
width: 32px; height: 32px; border-radius: 50%; margin-left: -8px;
border: 2.5px solid var(--card); display: grid; place-items: center;
color: #fff; font-size: 12px; font-weight: 700;
}
.mtg-ppl .av:first-child { margin-left: 0; }
.mtg-ppl .more { margin-left: 10px; font-size: 11.5px; color: var(--muted); }
.mtg-brief { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mtg-brief li { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.mtg-brief .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 6px; }
.mtg-cta {
margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
background: var(--ink); color: #fff; border-radius: 999px; padding: 12px;
font-size: 13.5px; font-weight: 600; transition: transform 0.13s; white-space: nowrap;
}
.mtg-cta .ic { width: 16px; height: 16px; color: var(--blue); }
.mtg-cta:hover { transform: translateY(-1px); }
/* ===== 메일 요약 ===== */
.mails2 { display: flex; flex-direction: column; flex: 1; }
.mrow { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mrow:last-child { border-bottom: none; }
.mdot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.mbody { flex: 1; min-width: 0; }
.mfrom { display: flex; align-items: center; gap: 8px; font-size: 12.5px; min-width: 0; }
.mfrom b { font-weight: 700; white-space: nowrap; }
.mtask { font-size: 10px; font-weight: 700; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 2px 7px; flex-shrink: 0; }
.mtime { margin-left: auto; color: var(--faint); font-size: 11px; flex-shrink: 0; }
.msubj { font-size: 13px; font-weight: 600; margin-top: 4px; letter-spacing: -0.01em; }
.msum { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
/* ===== 건강 링 ===== */
.rings2 { display: flex; gap: 12px; justify-content: space-around; margin: auto 0; }
.ring2 { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.dial2 { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.dial2::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.dial2 .ic { position: relative; width: 23px; height: 23px; color: var(--ink); }
.rv2 { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.rl2 { font-size: 11px; color: var(--muted); margin-top: -4px; }
.nudge2 {
margin-top: 16px; display: flex; align-items: flex-start; gap: 9px;
background: var(--blue-soft); border-radius: var(--r-sm); padding: 12px 14px;
font-size: 12px; color: var(--ink-2); line-height: 1.4;
}
.nudge2 .ic { width: 15px; height: 15px; color: var(--blue-d); flex-shrink: 0; margin-top: 1px; }
/* ===== 지출 ===== */
.fbig { display: flex; align-items: baseline; gap: 7px; }
.fbig b { font-family: var(--font); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.fbig .u { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fdelta { font-size: 12px; color: var(--blue-d); font-weight: 500; margin-top: 6px; }
.fbar { height: 8px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin: 16px 0 8px; }
.fbar i { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.frange { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.fsubs { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 11px; }
.fsub { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.fsub .nm { font-weight: 600; white-space: nowrap; }
.fsub .dt { color: var(--muted); font-size: 11px; white-space: nowrap; }
.fsub .amt { margin-left: auto; font-family: var(--font-mono); font-weight: 600; }
/* ===== 자동화 ===== */
.auto { display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center; }
.arow { display: flex; align-items: center; gap: 12px; }
.aic { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; background: var(--card-2); color: var(--ink-2); display: grid; place-items: center; }
.aic .ic { width: 17px; height: 17px; }
.abody { flex: 1; min-width: 0; }
.awhen { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.athen { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--card-2); position: relative; flex-shrink: 0; cursor: pointer; transition: background 0.18s; }
.toggle.on { background: var(--blue-d); }
.toggle i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.18s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.toggle.on i { left: 21px; }
/* ===== 지식/메모 ===== */
.klist { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.krow { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; cursor: pointer; transition: background 0.14s; }
.krow:hover { background: var(--card-2); }
.kic { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; background: var(--card-2); color: var(--ink); display: grid; place-items: center; }
.kic .ic { width: 17px; height: 17px; }
.kbody { flex: 1; min-width: 0; }
.kt { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.ks { font-size: 11px; color: var(--muted); margin-top: 1px; }
.ktag { font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: var(--card-2); border-radius: 999px; padding: 3px 9px; flex-shrink: 0; }
/* 진입 애니메이션 (벤토) */
.enter .wcard, .enter .hero2 { animation: up 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.enter .wcard:nth-child(2) { animation-delay: 0.03s; }
.enter .wcard:nth-child(3) { animation-delay: 0.06s; }
.enter .wcard:nth-child(n+4) { animation-delay: 0.09s; }
/* ===== 반응형 ===== */
@media (max-width: 1200px) {
.bento { grid-template-columns: repeat(2, 1fr); }
.bento .span2 { grid-column: span 2; }
}
@media (max-width: 760px) {
.bento { grid-template-columns: 1fr; }
.bento .span2 { grid-column: span 1; }
}