:root { --ink:#1e2d36; --muted:#687782; --line:#dce4e8; --orange:#ef6b27; --orange-dark:#d75014; --blue:#405665; --pale:#f4f7f8; --paper:#fff; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; color:var(--ink); background:#eaf0f2; font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea { font:inherit; } button { cursor:pointer; } .app-shell { min-height:100vh; display:grid; grid-template-columns:272px minmax(0,1fr); }
.sidebar { background:var(--blue); color:#fff; padding:25px 17px 18px; display:flex; flex-direction:column; gap:22px; } .brand { display:flex; align-items:center; gap:10px; font-size:1.32rem; font-weight:750; letter-spacing:-.03em; padding:0 7px; } .brand-mark { display:grid; place-items:center; width:31px; height:31px; border-radius:10px; background:var(--orange); font-size:.96rem; }
.new-project { border:1px solid rgba(255,255,255,.2); border-radius:11px; background:rgba(255,255,255,.1); color:#fff; padding:11px 13px; font-weight:650; text-align:left; } .new-project:hover { background:rgba(255,255,255,.18); } #projectList { display:flex; flex-direction:column; gap:5px; overflow:auto; }
.project { width:100%; border:0; border-radius:10px; padding:11px 12px; background:transparent; color:#e9f0f2; text-align:left; } .project:hover,.project.active { background:rgba(255,255,255,.13); } .project-title { display:flex; align-items:center; gap:7px; font-weight:650; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .project-meta { margin-top:4px; color:#b8c6cd; font-size:.77rem; } .running-dot { width:7px; height:7px; border-radius:100%; background:var(--orange); box-shadow:0 0 0 3px rgba(239,107,39,.2); flex:none; } .sidebar-foot { margin-top:auto; color:#aec0c8; padding:0 7px; font-size:.8rem; }
.workspace { padding:clamp(22px,4vw,50px); background:linear-gradient(135deg,#fff 0%,#f0f4f5 100%); } .topbar { display:flex; gap:20px; align-items:center; justify-content:space-between; max-width:1000px; } .project-name { width:100%; max-width:580px; border:0; outline:0; background:transparent; color:var(--ink); font-size:clamp(1.85rem,4vw,2.7rem); font-weight:760; letter-spacing:-.055em; padding:0; } .top-actions { display:flex; gap:9px; } .secondary,.icon-button { border:1px solid #cdd8dd; background:rgba(255,255,255,.72); color:var(--blue); border-radius:10px; padding:10px 12px; font-weight:650; } .secondary:hover,.icon-button:hover { background:#fff; } .icon-button { color:#a33d31; }
.timer-card { max-width:1000px; margin:33px 0 29px; border:1px solid rgba(64,86,101,.11); border-radius:20px; padding:25px; display:flex; align-items:center; gap:18px; background:rgba(255,255,255,.76); box-shadow:0 12px 35px rgba(43,65,76,.08); } .timer-icon { display:grid; place-items:center; width:59px; height:59px; border-radius:16px; background:#e9eff1; color:var(--blue); font-size:2rem; } .timer-card.running .timer-icon { background:#fff0e8; color:var(--orange); } .timer-value { font-size:clamp(1.7rem,4vw,2.55rem); letter-spacing:-.045em; font-weight:760; font-variant-numeric:tabular-nums; } .timer-caption { color:var(--muted); margin-top:2px; } .clock-button { margin-left:auto; border:0; border-radius:11px; min-width:132px; padding:13px 18px; color:#fff; background:var(--orange); font-weight:750; box-shadow:0 7px 16px rgba(239,107,39,.22); } .clock-button:hover { background:var(--orange-dark); } .timer-card.running .clock-button { background:#aa493a; }
.notebook-section,.activity-section { max-width:1000px; } .section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:15px; margin-bottom:10px; } h1,h2 { margin:0; font-size:1.08rem; letter-spacing:-.02em; } .section-heading span { color:var(--muted); font-size:.79rem; } #notes { width:100%; min-height:205px; resize:vertical; border:1px solid var(--line); border-radius:14px; padding:17px; color:var(--ink); background:rgba(255,255,255,.85); outline-color:var(--orange); line-height:1.55; } .activity-section { margin-top:29px; } .sessions { border-top:1px solid var(--line); } .session { display:grid; grid-template-columns:1fr auto; gap:10px; padding:13px 2px; border-bottom:1px solid var(--line); } .session time { color:var(--muted); font-size:.84rem; } .session-duration { color:var(--blue); font-weight:720; } .empty { color:var(--muted); font-size:.9rem; padding:15px 0; }
#toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); opacity:0; pointer-events:none; transition:.2s ease; color:#fff; background:#263842; border-radius:9px; padding:10px 14px; font-size:.88rem; } #toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width:700px) { .app-shell { grid-template-columns:1fr; } .sidebar { padding:14px 15px; gap:12px; } .brand { padding:0; } #projectList { flex-direction:row; overflow:auto; } .project { min-width:155px; } .sidebar-foot { display:none; } .workspace { padding:24px 17px 35px; } .topbar { align-items:flex-start; } .top-actions { flex-direction:column; } .secondary,.icon-button { white-space:nowrap; } .timer-card { margin-top:24px; padding:17px; gap:12px; flex-wrap:wrap; } .timer-icon { width:46px; height:46px; } .clock-button { width:100%; margin:4px 0 0; } .section-heading { align-items:flex-start; flex-direction:column; gap:4px; } }
