@charset "UTF-8";
:root{--bg:#f6f5ef;--paper:#fff;--green:#153f35;--mint:#dcece2;--lime:#d6ee85;--ink:#203b34;--muted:#66756e;--line:#e3e6dd;--orange:#f3b49a;--danger:#a62e22;--radius:22px;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #658a30;outline-offset:3px}.skip{position:fixed;left:16px;top:-80px;z-index:20;padding:12px;background:white}.skip:focus{top:10px}h1,h2,h3,p{margin:0}h1{font-size:clamp(29px,4vw,43px);letter-spacing:-1.4px;line-height:1.15;font-weight:740}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:700}.layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:36px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:36px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-1px}.brand-icon{width:36px;height:36px;border-radius:11px;background:var(--green);display:grid;place-items:center;color:var(--lime);font-size:26px;letter-spacing:-3px;padding-right:3px}.brand small{display:block;letter-spacing:0;font-weight:500;color:var(--muted);font-size:11px;margin-top:3px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{background:transparent;border:0;border-radius:13px;text-align:left;padding:14px 16px;color:var(--muted);display:flex;align-items:center;gap:13px;font-weight:600}.nav button.active{background:var(--green);color:white}.nav button:hover:not(.active){background:var(--mint)}.nav .icon{font-size:20px;line-height:1;width:22px;text-align:center}.side-bottom{margin-top:auto;padding:16px;border-radius:16px;background:#ebece3;font-size:12px;line-height:1.7}.status-dot{display:inline-block;background:#458262;width:7px;height:7px;border-radius:50%;margin-right:6px}.main{padding:38px 48px 48px;min-width:0}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:37px}.topline-label{font-size:12px;font-weight:600;letter-spacing:.9px;text-transform:uppercase}.device{display:flex;gap:8px;align-items:center;font-size:12px;background:white;border:1px solid var(--line);border-radius:30px;padding:9px 13px}.pagehead{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:28px}.pagehead p{margin-top:10px;font-size:15px}.button{border:0;border-radius:12px;background:var(--green);color:white;font-weight:650;padding:13px 19px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;min-height:46px;line-height:1.3}.button:hover{filter:brightness(1.12)}.button.secondary{background:#fff;color:var(--green);border:1px solid var(--line)}.button.soft{background:var(--mint);color:var(--green)}.button.danger{background:#fbe7e2;color:var(--danger)}.button:disabled{opacity:.5;cursor:default}.button.small{font-size:13px;padding:9px 13px;min-height:39px}.button.icon-button{padding:10px;min-width:42px}.button.link{background:transparent;color:var(--green);padding-left:0;padding-right:0}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.hero{background:var(--green);border-radius:26px;padding:29px 32px;color:white;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden;margin-bottom:28px}.hero h2{font-size:28px;max-width:420px;font-weight:650;letter-spacing:-.8px;line-height:1.3;margin:10px 0}.hero p{color:#c8dcd3;max-width:430px;font-size:14px}.hero .button{background:var(--lime);color:var(--green);margin-top:21px}.hero-art{width:175px;height:145px;flex-shrink:0;position:relative;margin:0 26px}.bill{position:absolute;border-radius:13px;width:132px;height:100px;display:flex;flex-direction:column;justify-content:center;padding:17px;background:#dcece2;color:var(--green);transform:rotate(-12deg);top:3px;left:0;font-weight:800;font-size:25px;box-shadow:0 12px 0 #0c312b44}.bill:before{content:'SPOLEČNĚ';font-size:8px;letter-spacing:2px;color:#517260;margin-bottom:8px}.bill.second{transform:rotate(12deg);left:42px;top:42px;background:var(--lime);font-size:27px}.bill.second:before{content:'VYROVNÁNO'}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:34px}.stat{border:1px solid var(--line);border-radius:18px;padding:21px;background:white;display:flex;gap:14px;align-items:center}.stat-icon{width:42px;height:42px;background:var(--mint);border-radius:13px;display:grid;place-items:center;font-size:21px;flex-shrink:0}.stat:nth-child(2) .stat-icon{background:#faf0dd}.stat:nth-child(3) .stat-icon{background:#f9e8df}.stat strong{font-size:25px;letter-spacing:-.7px;display:block;margin-top:5px}.stat span{font-size:12px;color:var(--muted)}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.sectionhead h2{font-size:20px}.count{font-size:12px;background:#e8ebe2;border-radius:8px;padding:4px 8px;margin-left:7px;vertical-align:middle;font-weight:600;color:var(--muted)}.group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.group-card{display:flex;flex-direction:column;background:white;padding:23px;border-radius:20px;border:1px solid var(--line);gap:18px;position:relative;min-width:0}.group-card:hover{border-color:#9ab9a6}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.group-icon{width:47px;height:47px;background:var(--mint);border-radius:14px;display:grid;place-items:center;font-size:24px}.tag{font-size:11px;border:1px solid var(--line);border-radius:7px;padding:5px 8px;white-space:nowrap;color:var(--muted)}.tag.green{background:#edf4eb;color:#3f6d3c;border:0}.group-card h3{font-size:20px;overflow-wrap:anywhere}.group-card .muted{font-size:13px;margin-top:6px}.avatars{display:flex;padding-left:2px}.avatar{display:inline-flex;width:31px;height:31px;border-radius:50%;background:#e7ecdf;color:var(--green);border:2px solid white;align-items:center;justify-content:center;font-size:10px;font-weight:750;margin-left:-2px}.avatar:nth-child(2n){background:#f6ddcd}.avatar:nth-child(3n){background:#dce7ef}.card-footer{border-top:1px solid var(--line);padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.card-footer strong{font-size:18px}.card-open{position:absolute;inset:0;border:0;background:transparent;border-radius:20px}.card-open:focus-visible{outline-offset:2px}.card-footer small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.arrow{font-size:20px;color:#7b9488}.empty{background:white;border:1px dashed #cdd7cd;border-radius:22px;padding:42px;text-align:center}.empty-symbol{font-size:38px;margin-bottom:15px}.empty h2{margin-bottom:10px}.empty p{max-width:420px;margin:0 auto 24px;font-size:14px;color:var(--muted)}.local-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:23px;display:flex;gap:8px;align-items:start}.cols{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:22px;padding:25px;min-width:0}.panel+.panel{margin-top:18px}.panel h2{margin-bottom:18px}.panel p+.actions{margin-top:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;font-size:13px;font-weight:650}.field input,.field select,.field textarea{border:1px solid #ccd6ce;border-radius:11px;background:#fff;min-height:46px;padding:11px 13px;color:var(--ink);width:100%;font-weight:450}.field textarea{min-height:90px;resize:vertical}.field small{font-size:11px;color:var(--muted);font-weight:450;line-height:1.5}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-list{display:grid;gap:8px;margin-bottom:18px}.check{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;font-size:14px}.check input{width:18px;height:18px;accent-color:var(--green)}.check input[type=number]{margin-left:auto;width:75px;height:35px;border:1px solid var(--line);border-radius:6px;padding:5px}.note{background:#f0f4eb;border-radius:12px;padding:13px 15px;font-size:12px;color:#53684f;line-height:1.65;margin-bottom:18px}.note.warning{background:#fff1df;color:#84551d}.error{color:var(--danger);font-size:13px;line-height:1.6;margin:12px 0}.qr-empty{display:flex;min-height:260px;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #cad6cb;border-radius:15px;background:#f7f8f4;gap:12px;color:var(--muted);font-size:13px}.qr-empty .qr-deco{display:grid;grid-template-columns:repeat(2,30px);gap:8px;color:#9bad9d}.qr-deco span{border:4px solid currentColor;border-radius:4px;width:28px;height:28px}.qr-result{text-align:center}.qr-result canvas{display:block;width:min(100%,300px);height:auto;margin:0 auto 15px;image-rendering:pixelated;border-radius:8px}.qr-result strong{display:block;font-size:27px;margin-bottom:9px}.qr-result p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.qr-result .actions{justify-content:center;margin:18px 0}.data-line{display:flex;justify-content:space-between;padding:13px 0;gap:14px;border-bottom:1px solid var(--line);font-size:14px}.data-line:last-child{border-bottom:0}.data-line strong{font-weight:600}.data-line .amount.positive{color:#326a43}.data-line .amount.negative{color:#a45235}.person{display:flex;align-items:center;gap:12px}.person .avatar{width:37px;height:37px;flex-shrink:0}.transfer{border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:12px}.transfer-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;font-size:14px}.transfer-top strong{white-space:nowrap}.transfer .actions .button{font-size:12px;min-height:37px;padding:9px 12px}.history{display:flex;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}.history:last-child{border-bottom:0}.history-icon{flex-shrink:0;width:38px;height:38px;display:grid;place-items:center;background:#eef1e9;border-radius:11px}.history-main{flex:1;min-width:0}.history-main strong{display:block;font-size:14px;overflow-wrap:anywhere}.history-main small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.history-amount{font-size:14px;white-space:nowrap;font-weight:650}.history.void{opacity:.55}.history.void .history-main strong{text-decoration:line-through}.history button{background:none;border:0;padding:0;color:var(--muted);font-size:11px;margin-top:9px;text-decoration:underline}.person-card{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.person-card:last-child{border-bottom:0}.person-card .avatar{width:45px;height:45px;font-size:14px}.person-card>div:nth-child(2){flex:1;min-width:0}.person-card strong{display:block;overflow-wrap:anywhere}.person-card small{display:block;overflow-wrap:anywhere;margin-top:5px;color:var(--muted);font-size:12px}.install-card{background:var(--green);color:white;border-radius:20px;padding:24px;margin-bottom:18px}.install-card p{color:#c8dcd3;font-size:13px;margin:12px 0 18px}.install-card .button{background:var(--lime);color:var(--green)}.download-meta{font-size:11px;line-height:1.7;color:var(--muted);margin-top:15px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.modal-head h2{font-size:23px}dialog{border:0;border-radius:24px;padding:27px;width:min(94vw,530px);max-height:90dvh;color:var(--ink);box-shadow:0 25px 100px #10291b55}dialog::backdrop{background:#132b2360;backdrop-filter:blur(4px)}dialog .close{background:#f0f2eb;border:0;border-radius:50%;width:34px;height:34px;font-size:21px;color:var(--muted);flex-shrink:0}dialog .actions{margin-top:22px}.tabs{display:flex;gap:6px;background:#e9ede3;border-radius:12px;padding:5px;margin-bottom:24px;overflow:auto}.tabs button{border:0;padding:10px 18px;border-radius:9px;background:none;color:var(--muted);font-size:13px;font-weight:650;white-space:nowrap}.tabs button.active{background:white;color:var(--green);box-shadow:0 2px 5px #17241908}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:13px;padding:13px 21px;z-index:50;box-shadow:0 6px 25px #17332233;max-width:90vw;font-size:13px;display:none}#toast.visible{display:block}.version{font-size:11px;color:var(--muted)}.offline{color:#97531f}.back{display:flex;align-items:center;gap:7px;background:none;border:0;padding:0;color:var(--muted);font-size:13px;margin-bottom:18px}.overview-note{padding:15px 0;font-size:13px;color:var(--muted)}.mobile-brand{display:none}.state-button{font-size:12px;text-decoration:underline;border:0;background:none;color:var(--muted);padding:9px 0}.audit-line{font-size:12px;padding:10px 0;line-height:1.6;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.audit-line small{display:block;color:var(--muted);font-size:10px}.file-input{display:none}.split-mode{margin-bottom:15px}
@media(min-width:1400px){.main{padding-left:62px;padding-right:62px}.group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1080px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:30px 17px}.brand{font-size:20px}.brand-icon{width:31px;height:31px}.main{padding:30px 28px}.cols{grid-template-columns:minmax(0,1fr)}.summary{gap:10px}.stat{padding:17px 14px;gap:10px}.stat-icon{width:34px;height:34px}.hero-art{margin-right:0;width:130px;transform:scale(.85);transform-origin:right center}}
@media(max-width:720px){.layout{display:block}.sidebar{position:fixed;bottom:0;top:auto;left:0;width:100%;height:auto;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#fff;border:0;border-top:1px solid var(--line);z-index:10;display:block}.sidebar>.brand,.side-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:2px}.nav button{flex-direction:column;gap:5px;align-items:center;justify-content:center;flex:1;padding:8px 2px;font-size:10px;border-radius:11px}.nav button.active{background:#e9f0e5;color:var(--green)}.nav .icon{font-size:21px}.main{padding:22px 20px calc(110px + env(safe-area-inset-bottom))}.mobile-brand{display:flex;font-size:20px}.mobile-brand small{display:none}.topline{margin-bottom:30px}.topline-label{display:none}.device{font-size:10px;padding:8px 10px}.pagehead{align-items:start;gap:10px;margin-bottom:22px}.pagehead h1{font-size:30px;letter-spacing:-1px}.pagehead p{font-size:13px;margin-top:8px}.pagehead>.button{font-size:12px;padding:11px 12px;min-height:40px;flex-shrink:0}.hero{padding:24px;margin-bottom:20px;border-radius:22px;gap:10px}.hero h2{font-size:23px;margin-top:8px}.hero p{font-size:12px}.hero .eyebrow{font-size:9px}.hero .button{font-size:12px;margin-top:17px;padding:11px 13px;min-height:40px}.hero-art{width:77px;min-width:77px;height:120px;transform:scale(.65);transform-origin:right center;margin-left:-25px;margin-right:-5px}.bill{left:-50px}.bill.second{left:-10px}.summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:28px}.stat{display:block;padding:13px 11px;border-radius:15px}.stat-icon{width:28px;height:28px;font-size:16px;border-radius:9px;margin-bottom:10px}.stat span{font-size:10px}.stat strong{font-size:23px;margin-top:6px}.group-grid{grid-template-columns:minmax(0,1fr);gap:14px}.group-card{padding:21px;gap:15px}.sectionhead h2{font-size:19px}.sectionhead>.button{font-size:12px}.empty{padding:29px 22px}.panel{padding:21px;border-radius:18px}.cols{gap:18px}.field-row{gap:12px}.local-note{font-size:11px}.history{gap:10px}.history-amount{font-size:12px}.history-icon{width:32px;height:32px}.history-main strong{font-size:13px}.transfer-top{flex-wrap:wrap}.topline .brand-icon{font-size:24px}.group-card h3{font-size:19px}.pagehead.group-head{display:block}.group-head .actions{margin-top:15px}dialog{padding:22px}.tabs button{padding:10px 13px}.qr-result canvas{width:min(100%,270px)}}
@media(prefers-reduced-motion:no-preference){.group-card,.button{transition:filter .15s,border-color .15s}.page-body{animation:enter .22s ease-out}@keyframes enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}}
