:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1a3350;background:#edf3f9;font-size:16px;-webkit-text-size-adjust:100%;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app{min-height:100dvh}.top{background:#fff;border-bottom:1px solid #dbe5f0;padding:calc(18px + env(safe-area-inset-top)) 18px 15px;position:relative}.brandline{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:11px;font-weight:780;letter-spacing:.12em;color:#2776ad}h1{font-size:23px;letter-spacing:-.045em;margin:4px 0 0;color:#083967}h1 span{color:#1684be}h1 small{font-size:10px;font-weight:600;color:#7f92a7;letter-spacing:0}.mark{width:43px;height:43px;border:1px solid #bcd4e5;display:grid;place-items:center;color:#0a5d94;font-size:15px;font-weight:800;background:#f1f8fe;border-radius:12px}.session{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}.sync-status{font-size:13px;color:#667e94;line-height:1.4}.sync-status.ok{color:#097248}.sync-status.warn{color:#a3541c}.selectors{display:grid;grid-template-columns:1fr 1fr;gap:11px}.selectors label{display:flex;flex-direction:column;gap:7px;min-width:0}.selectors label.full{grid-column:1/-1}.selectors span,.input-label{font-size:13px;font-weight:720;color:#536d84}select,input{width:100%;font:600 16px system-ui,-apple-system,sans-serif;color:#174e7b;background:#f7faff;border:1px solid #cbdceb;border-radius:10px;height:48px;padding:0 12px;min-width:0}.main{padding:20px 15px calc(98px + env(safe-area-inset-bottom));max-width:1100px;margin:auto}.main h2{font-size:23px;letter-spacing:-.025em;margin:0 0 5px;color:#143f6f}.subtitle{font-size:14px;color:#6a8297;margin:0 0 18px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:20px 0 26px}.stat{padding:19px 16px;border:1px solid #dce7f1;border-radius:14px;background:white}.stat .label{display:block;color:#71889b;font-size:13px;font-weight:600}.stat strong{font-size:29px;color:#064976;display:block;margin-top:8px;line-height:1.1}.section{font-size:12px;color:#70869b;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin:23px 0 12px}.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick button{text-align:left;background:#fff;padding:17px 15px;min-height:89px;color:#124b79;border:1px solid #d8e5f1;border-radius:12px;font-size:15px;font-weight:700}.quick button span{display:block;font-size:22px;margin-bottom:9px;color:#2078b5}.card{background:white;border:1px solid #dce6f0;border-radius:14px;padding:17px;margin-bottom:10px;box-shadow:0 2px 8px #163f5b07}.person{font-size:18px;font-weight:790;color:#0c4a7b;line-height:1.35}.code{color:#1776b2;font-weight:750;font-size:14px;margin-top:3px}.meta{font-size:14px;line-height:1.55;color:#637a91;margin-top:6px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0 0}.chip{font-size:13px;line-height:1.3;border:1px solid #d9e7f3;background:#f5f9fd;color:#385a7a;padding:6px 9px;border-radius:8px;font-weight:650}.chip.good{background:#e7f6ec;color:#0d7c47;border-color:#c0e9d1}.chip.bad{background:#fff0e9;color:#a0532c;border-color:#f7d1bf}.card .action{margin-top:15px}.primary,.outline,.ghost{cursor:pointer;min-height:45px;border-radius:10px;font:700 15px system-ui,-apple-system,sans-serif;padding:10px 14px}.primary{background:#096ca8;border:1px solid #075d93;color:white}.outline{background:white;border:1px solid #c2d8e8;color:#11629b}.ghost{background:transparent;border:0;color:#1a6b9d}.small{font-size:13px;min-height:36px;padding:6px 11px}.primary:disabled{opacity:.5}.bottom{height:calc(69px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dce6f0;background:#fff;box-shadow:0 -3px 12px #13375610}.bottom button{border:0;background:transparent;color:#71899d;font:650 11px system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.bottom button span{font-size:22px;line-height:1}.bottom button.active{color:#0872b5;background:#f0f7fe}.toolbar{display:flex;gap:9px;align-items:center;margin:13px 0 14px}.toolbar input{flex:1;min-width:0;background:#fff}.toolbar select{width:auto;max-width:43%;height:45px;background:#fff;font-size:14px}.count{font-size:13px;color:#697f94;font-weight:650;margin-bottom:13px}.welcome{background:white;border:1px solid #dce7f1;padding:26px 22px;border-radius:16px;margin-top:18px}.welcome p{font-size:15px;line-height:1.65;color:#657a90}.pill{font-size:11px;letter-spacing:.1em;font-weight:800;color:#17699e}.signin{margin:15px 0}.empty{border:1px dashed #c4d7e8;background:#fff;border-radius:14px;padding:25px;text-align:center;color:#6a7f92;line-height:1.6}.overlay{position:fixed;inset:0;z-index:40;background:#0a1e36a8;display:flex;align-items:end;justify-content:center}.hidden{display:none!important}.sheet{width:100%;max-width:520px;background:white;border-radius:20px 20px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -15px 40px #101c3070}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h2{font-size:21px;margin:0}.icon-btn{border:0;background:#eef4fa;color:#3d5871;font-size:26px;border-radius:50%;height:40px;width:40px}.edit-person{color:#275c87;font-size:16px;font-weight:700;margin:15px 0}.input-label{display:block;margin-bottom:7px}.help{font-size:13px;line-height:1.6;color:#73889b}.actions{display:flex;gap:10px;margin:20px 0}.actions>*{flex:1}.error-line{font-size:13px;color:#b42318}.toast{position:fixed;z-index:100;left:16px;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));background:#143b62;color:#fff;padding:13px 16px;border-radius:11px;font-size:14px;box-shadow:0 10px 25px #0003}@media (orientation:landscape) and (max-height:600px){.top{padding-top:8px}.main{padding-bottom:85px}.selectors{grid-template-columns:repeat(3,1fr)}.selectors label.full{grid-column:auto}.bottom{height:52px}.bottom button{flex-direction:row;font-size:12px}.bottom button span{font-size:18px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{margin:0}.sheet{max-height:95dvh;overflow-y:auto}}@media(min-width:680px){.main{padding-left:22px;padding-right:22px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{margin:0}.selectors{grid-template-columns:repeat(3,minmax(0,1fr))}.selectors label.full{grid-column:auto}.stats{grid-template-columns:repeat(4,1fr)}.quick{grid-template-columns:repeat(4,1fr)}}
