*{box-sizing:border-box}
:root{
  --navy:#12233f;--navy2:#1d3557;--ink:#172033;--muted:#718096;
  --line:#e5eaf1;--bg:#f4f7fb;--white:#fff;--accent:#315b8d;
}
html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;color:var(--ink);background:var(--bg)}
body{padding:28px 18px}
.app-shell{max-width:1180px;margin:0 auto}
.topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.eyebrow{margin:0 0 7px;color:#718096;font-size:11px;font-weight:800;letter-spacing:.14em}
h1{margin:0;color:var(--navy);font-size:32px;letter-spacing:-.04em}
.subtitle{margin:7px 0 0;color:var(--muted);font-size:14px}
.clock-box{text-align:right;color:var(--navy)}
.clock-box span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}
.clock-box strong{font-size:24px;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
.card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:21px;box-shadow:0 7px 24px rgba(20,35,55,.045);min-width:0}
.date-card{grid-column:span 4}.weather-card{grid-column:span 4}.fx-card{grid-column:span 4}
.todo-card{grid-column:span 7}.schedule-card{grid-column:span 5}.note-card{grid-column:span 12}
.card-title{display:flex;justify-content:space-between;align-items:center;color:var(--navy);font-weight:800;font-size:15px;margin-bottom:16px}
.dot{width:7px;height:7px;border-radius:50%;background:#496f9f;margin-right:auto;margin-left:8px}
.big-date{font-size:27px;font-weight:800;letter-spacing:-.04em;line-height:1.25}
.muted{margin:10px 0 0;color:var(--muted);font-size:13px}
.weather-content{min-height:74px;display:flex;align-items:center}
.weather-main{display:flex;align-items:center;gap:15px}.weather-icon{font-size:42px}
.temp{font-size:34px;font-weight:800;letter-spacing:-.05em}.weather-desc{color:var(--muted);font-size:13px;margin-top:2px}
.weather-extra{margin-left:auto;text-align:right;color:var(--muted);font-size:12px;line-height:1.7}
.updated{margin-top:12px;color:#9aa5b5;font-size:11px}
.loading{color:var(--muted);font-size:13px}.error{color:#9b4a4a;background:#fff5f5;padding:10px;border-radius:10px;font-size:12px;line-height:1.5}
.icon-btn{border:0;background:#f3f6fa;color:var(--navy);width:31px;height:31px;border-radius:9px;cursor:pointer;font-size:18px}.icon-btn:hover{background:#e9eef5}
.fx-list{display:grid;gap:10px}.fx-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eef1f5}.fx-row:last-child{border-bottom:0}
.fx-name{font-weight:700;font-size:13px}.fx-rate{font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums}.fx-sub{font-size:10px;color:#9aa5b5;margin-left:4px}
.count{font-size:12px;background:#eef3f8;color:var(--navy);padding:4px 8px;border-radius:20px}
.todo-form{display:flex;gap:8px;margin-bottom:13px}.todo-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px 12px;outline:none;font:inherit}.todo-form input:focus,.schedule-input:focus,textarea:focus{border-color:#8ca2bc;box-shadow:0 0 0 3px rgba(49,91,141,.08)}
.todo-form button{border:0;border-radius:10px;padding:0 17px;background:var(--navy);color:white;font-weight:700;cursor:pointer}
.todo-list{list-style:none;padding:0;margin:0;display:grid;gap:7px}.todo-item{display:flex;align-items:center;gap:9px;padding:10px 11px;background:#f7f9fc;border-radius:10px}.todo-item input{width:17px;height:17px;accent-color:var(--navy)}.todo-text{flex:1;font-size:13px;word-break:break-word}.todo-item.done .todo-text{text-decoration:line-through;color:#a0a9b6}.delete{border:0;background:transparent;color:#a0a9b6;cursor:pointer;font-size:17px}.empty{margin:18px 0 3px;text-align:center;color:#a0a9b6;font-size:12px}
.optional{font-size:11px;color:#9aa5b5;font-weight:600}.schedule-list{display:grid;gap:10px}.schedule-row{display:flex;align-items:center;gap:12px}.time{width:43px;color:#7b8797;font-size:12px;font-variant-numeric:tabular-nums}.schedule-input{flex:1;border:0;border-bottom:1px solid #e8edf3;padding:8px 3px;outline:none;font:inherit;font-size:13px;background:transparent}.hint{font-size:10px;color:#a0a9b6;margin:13px 0 0}
textarea{width:100%;min-height:120px;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:12px;font:inherit;font-size:13px;outline:none}.note-footer{text-align:right;color:#9aa5b5;font-size:10px;margin-top:7px}
footer{display:flex;justify-content:space-between;gap:15px;padding:18px 4px 4px;color:#9aa5b5;font-size:10px}
@media(max-width:850px){body{padding:18px 12px}.topbar{align-items:flex-start}.clock-box strong{font-size:19px}.date-card,.weather-card,.fx-card,.todo-card,.schedule-card,.note-card{grid-column:span 12}}
@media(max-width:520px){h1{font-size:27px}.subtitle{font-size:12px}.topbar{gap:10px}.clock-box{min-width:95px}.big-date{font-size:23px}.card{padding:17px}.weather-extra{display:none}footer{flex-direction:column;gap:5px}}
