:root { --bg: #f5f8fd; --surface: rgba(255, 255, 255, .92); --surface-solid: #ffffff; --text: #0f1f3d; --muted: #5c6b84; --line: #dbe5f2; --blue: #2563eb; --blue-soft: #eaf2ff; --green: #119b6b; --green-soft: #e7f8f1; --orange: #f28c18; --orange-soft: #fff3df; --red: #dc2626; --red-soft: #fff1f2; --shadow: 0 18px 48px rgba(29, 52, 92, .10); --shadow-soft: 0 10px 26px rgba(29, 52, 92, .07); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, rgba(37, 99, 235, .10), transparent 34rem), radial-gradient(circle at 72% 12%, rgba(17, 155, 107, .09), transparent 24rem), linear-gradient(180deg, #fbfdff 0%, var(--bg) 55%, #f8fbff 100%); } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(37, 99, 235, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 72%); } .topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: rgba(255, 255, 255, .78); border-bottom: 1px solid rgba(219, 229, 242, .9); } .brand { width: min(1360px, calc(100% - 32px)); margin: 0 auto; height: 70px; display: flex; align-items: center; gap: 14px; } .brand-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .13); font-size: 1.35rem; } .brand strong { display: block; font-size: 1.25rem; letter-spacing: -.03em; } .brand span:last-child { display: block; color: var(--muted); font-size: .9rem; margin-top: 1px; } .app { position: relative; width: min(1360px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 80px; } .hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 32px; align-items: stretch; margin-bottom: 22px; } .hero-content { position: relative; min-height: 300px; } .eyebrow { margin: 0 0 12px; color: var(--blue); font-weight: 800; letter-spacing: .10em; text-transform: uppercase; font-size: .78rem; } h1 { margin: 0; max-width: 760px; font-size: clamp(2.35rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.06em; } .intro { max-width: 770px; margin: 20px 0 30px; color: var(--muted); line-height: 1.75; font-size: 1.04rem; } .settings { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 18px; max-width: 820px; } .setting-card, .stat-card, .panel, .drop-zone { background: var(--surface); border: 1px solid rgba(219, 229, 242, .95); box-shadow: var(--shadow-soft); backdrop-filter: blur(16px); } .setting-card { min-height: 124px; border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 18px; } .setting-icon, .stat-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.55rem; font-weight: 800; } .setting-icon.clock, .stat-days .stat-icon { color: var(--blue); background: var(--blue-soft); } .setting-icon.location, .stat-work .stat-icon, .stat-saldo .stat-icon { color: var(--green); background: var(--green-soft); } .stat-target .stat-icon { color: var(--orange); background: var(--orange-soft); } .setting-content { display: grid; gap: 8px; width: 100%; } .setting-label, .stat-card > span:not(.stat-icon) { color: #31415d; font-size: .92rem; font-weight: 750; } .settings input, .settings select { width: 100%; border: 1px solid #cfd9e8; border-radius: 14px; padding: 12px 14px; font: inherit; color: var(--text); background: #fff; outline: none; box-shadow: inset 0 1px 0 rgba(15, 31, 61, .03); transition: border-color .18s ease, box-shadow .18s ease; } .settings input:focus, .settings select:focus { border-color: rgba(37, 99, 235, .6); box-shadow: 0 0 0 4px rgba(37, 99, 235, .10); } .drop-zone { position: relative; display: grid; place-items: center; min-height: 302px; border: 2px dashed rgba(37, 99, 235, .48); border-radius: 28px; cursor: pointer; overflow: hidden; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; } .drop-zone::before { content: ""; position: absolute; inset: 18px; border-radius: 22px; background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 52%); opacity: .8; } .drop-zone:hover, .drop-zone.dragover { transform: translateY(-2px); border-color: var(--blue); background: rgba(234, 242, 255, .84); box-shadow: var(--shadow); } .drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 3; } .drop-content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); } .upload-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 28px; color: var(--blue); background: #fff; box-shadow: var(--shadow-soft); font-size: 2.8rem; line-height: 1; } .drop-content strong { color: var(--text); font-size: 1.15rem; margin-top: 8px; } .drop-content em { margin-top: 8px; font-style: normal; font-size: .88rem; color: var(--muted); } .error { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--red-soft); color: #be123c; border: 1px solid #fecdd3; font-weight: 650; } .hidden { display: none !important; } .format-hint { min-height: 26px; margin: 14px 0 0; color: var(--muted); font-size: .94rem; } .summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0; } .stat-card { position: relative; min-height: 146px; border-radius: 22px; padding: 22px; display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "icon label" "icon value" "icon hint"; align-items: center; column-gap: 16px; overflow: hidden; } .stat-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); } .stat-work::after, .stat-saldo::after { background: var(--green); } .stat-target::after { background: var(--orange); } .stat-icon { grid-area: icon; } .stat-card > span:not(.stat-icon) { grid-area: label; } .stat-card strong { grid-area: value; font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -.04em; } .stat-card small { grid-area: hint; color: var(--muted); } .stat-saldo strong.positive { color: var(--green); } .stat-saldo strong.negative { color: var(--red); } .results { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: start; } .panel { border-radius: 24px; padding: 22px; overflow: hidden; } .table-header, .details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; } .section-title { display: inline-flex; align-items: center; gap: 10px; } .section-title > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-weight: 900; } .table-header h2, .details summary strong { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; } button { border: 1px solid rgba(37, 99, 235, .18); border-radius: 14px; padding: 10px 14px; background: #fff; color: var(--blue); font: inherit; font-weight: 750; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; } button:hover { transform: translateY(-1px); background: var(--blue-soft); } .table-wrap { overflow-x: auto; margin: 0 -22px -22px; } table { width: 100%; border-collapse: collapse; font-size: .93rem; } th, td { padding: 14px 22px; border-bottom: 1px solid #e8eef6; text-align: left; white-space: nowrap; } th { color: #3c4a63; font-size: .82rem; font-weight: 850; background: #f8fbff; } tbody tr { transition: background .15s ease; } tbody tr:hover td { background: rgba(234, 242, 255, .55); } tr.holiday-row td { background: #fff7ed; } tr.weekend-row td { background: #f8fafc; } .positive { color: var(--green); font-weight: 850; } .negative { color: var(--red); font-weight: 850; } .neutral { color: var(--muted); font-weight: 850; } .details { margin: 0; } .details summary { cursor: pointer; list-style: none; } .details summary::-webkit-details-marker { display: none; } .summary-hint { color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .86rem; background: #fff; } .app-footer { position: fixed; right: 18px; bottom: 12px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, .78); border: 1px solid rgba(219, 229, 242, .9); backdrop-filter: blur(14px); box-shadow: 0 8px 22px rgba(29, 52, 92, .08); font-size: .82rem; } .app-footer a { color: var(--blue); text-decoration: none; font-weight: 750; } .app-footer a:hover { text-decoration: underline; } @media (max-width: 1100px) { .hero, .results { grid-template-columns: 1fr; } .drop-zone { min-height: 240px; } } @media (max-width: 820px) { .app { padding-top: 28px; } .settings, .summary { grid-template-columns: 1fr 1fr; } .brand { height: 62px; } .hero { gap: 22px; } } @media (max-width: 620px) { .app, .brand { width: min(100% - 22px, 1360px); } .settings, .summary { grid-template-columns: 1fr; } .setting-card, .stat-card { border-radius: 18px; } .table-header, .details summary { align-items: flex-start; flex-direction: column; } .app-footer { left: 12px; right: 12px; justify-content: center; } }