:root{color:#17213b;font-synthesis:none;background:#f5f2eb;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #dd6b32}::selection{color:#17213b;background:#f0aa6d}.appShell{width:min(1120px,100% - 32px);margin:0 auto;padding:0 0 64px}.appHeader{border-bottom:1px solid #d9d4c9;justify-content:space-between;align-items:center;gap:16px;min-height:76px;display:flex}.brand{align-items:center;gap:10px;display:flex}.brand img{object-fit:contain}.brand span{gap:2px;display:grid}.brand strong{color:#17213b;font-family:Georgia,serif;font-size:20px;line-height:1}.brand small{letter-spacing:.1em;text-transform:uppercase;color:#5e6574;font-size:11px;font-weight:800}.headerTools{align-items:center;gap:16px;display:flex}.textButton{color:#46536c;text-underline-offset:4px;background:0 0;border:0;padding:8px 0;font-weight:700;text-decoration:underline}.syncStatus{color:#406054;white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:800;display:inline-flex}.syncStatus.waiting{color:#9d5719}.statusDot{background:currentColor;border-radius:50%;width:8px;height:8px;display:inline-block}.topLine{justify-content:space-between;align-items:end;gap:24px;padding:36px 0 30px;display:flex}.topLine h1{letter-spacing:-.028em;max-width:640px;margin:0 0 12px;font-family:Georgia,serif;font-size:clamp(32px,5vw,54px);line-height:1.03}.topLine p{color:#5c6471;max-width:560px;margin:0;line-height:1.5}.fairStamp{color:#9d4b24;letter-spacing:.08em;text-align:center;border:2px solid #c06838;flex:none;padding:10px 12px;font-size:10px;font-weight:900;line-height:1.2;transform:rotate(3deg)}.fairStamp b{font-size:24px;line-height:1}.viewSwitch{background:#e9e5dc;border-radius:12px;gap:4px;width:max-content;max-width:100%;margin-bottom:28px;padding:4px;display:flex}.viewSwitch button{color:#566073;background:0 0;border:0;border-radius:9px;min-height:42px;padding:9px 17px;font-weight:800}.viewSwitch button.active{color:#fff;background:#17213b;box-shadow:0 2px 7px #19233d26}.problem{color:#6d351d;background:#fff5eb;border:1px solid #c87b52;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 15px;line-height:1.45;display:flex}.problem button{color:#6d351d;white-space:nowrap;background:#fff;border:1px solid #a85d36;border-radius:8px;padding:8px 12px;font-weight:800}.dayBar{gap:8px;margin-bottom:30px;display:flex}.dayBar button{color:#5b6476;background:#fffefa;border:1px solid #d5d1c8;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:9px;min-height:64px;font-weight:800;display:flex}.dayBar button strong{color:#17213b;font-family:Georgia,serif;font-size:25px}.dayBar button.chosen{color:#fff;background:#243453;border-color:#243453}.dayBar button.chosen strong{color:#fff}.sectionHeading,.reportHead,.chartHeading{justify-content:space-between;align-items:end;gap:18px;display:flex}.sectionHeading{margin-bottom:17px}.sectionHeading h2,.reportHead h2{letter-spacing:-.025em;margin:0 0 5px;font-family:Georgia,serif;font-size:clamp(27px,4vw,37px)}.sectionHeading p,.reportHead p{color:#5c6471;margin:0;line-height:1.45}.undoButton,.refreshButton{color:#293754;white-space:nowrap;background:#fffefa;border:1px solid #c7c6c2;border-radius:9px;min-height:44px;padding:10px 14px;font-weight:800}.flowGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.flowTile{text-align:left;color:#fff;border:0;border-radius:15px;flex-direction:column;justify-content:space-between;min-height:148px;padding:20px;transition:transform .12s,filter .12s;display:flex}.flowTile:active,.quickAdd:active{filter:brightness(.95);transform:scale(.98)}.flowTile.orange{background:#bd5d32}.flowTile.violet{background:#645386}.tileLabel{max-width:13ch;font-size:19px;font-weight:800;line-height:1.15}.tileBottom{justify-content:space-between;align-items:end;gap:12px;display:flex}.tileBottom strong{font-variant-numeric:tabular-nums;font-family:Georgia,serif;font-size:43px;line-height:.95}.plusMark{background:#ffffff28;border:1px solid #ffffff75;border-radius:50%;place-items:center;width:38px;height:38px;font-size:27px;line-height:1;display:grid}.groupHeading{justify-content:space-between;align-items:baseline;gap:12px;margin:33px 0 14px;display:flex}.flowHeading{margin-top:0}.groupHeading h3{letter-spacing:-.02em;margin:0;font-family:Georgia,serif;font-size:24px}.groupHeading p{color:#657080;max-width:61ch;margin:0;font-size:13px;line-height:1.4}.quickGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.quickTile{color:#273650;background:#fffefa;border:1px solid #d9d5cd;border-radius:12px;min-width:0;min-height:98px;display:flex;overflow:hidden}.quickAdd{text-align:left;min-width:0;color:inherit;background:0 0;border:0;flex:1;grid-template-rows:1fr auto;grid-template-columns:1fr auto;gap:6px;padding:13px;transition:transform .12s,filter .12s;display:grid}.quickAdd>span:first-child{grid-column:1/-1;font-size:14px;font-weight:800;line-height:1.2}.quickAdd strong{font-variant-numeric:tabular-nums;font-family:Georgia,serif;font-size:27px;line-height:1}.quickPlus{color:#bd5d32;place-self:end;font-size:22px;line-height:1}.quickMinus{color:#984920;background:#f5f2ec;border:0;border-left:1px solid #e4dfd6;flex:none;width:46px;font-size:25px;font-weight:700}.quickMinus:disabled{color:#9a9da4;opacity:1}.detailCard{background:#fffefa;border:1px solid #e5c6b1;border-radius:15px;margin:16px 0 0;padding:24px;box-shadow:0 12px 32px #5e39231a}.detailHead{justify-content:space-between;align-items:start;gap:16px;display:flex}.detailHead h3{margin:0 0 5px;font-family:Georgia,serif;font-size:25px}.detailHead p{color:#6c6c70;margin:0}.closeButton{color:#48536a;background:#f2eee7;border:0;border-radius:50%;width:34px;height:34px;font-size:25px;line-height:1}.detailGroup{border-top:1px solid #ece5dc;margin-top:20px;padding-top:17px}.detailGroup h4{color:#293650;margin:0 0 12px;font-size:14px}.chipGroup{flex-wrap:wrap;gap:8px;display:flex}.chipGroup button{color:#35435a;background:#f5f2ec;border:1px solid #d7d1c9;border-radius:100px;min-height:42px;padding:9px 13px;font-size:13px;font-weight:800}.chipGroup button.selected{color:#fff;background:#263c61;border-color:#263c61}.childCount{align-items:center;gap:13px;display:flex}.childCount button{color:#233656;background:#f5f2ec;border:1px solid #d7d1c9;border-radius:8px;width:42px;height:42px;font-size:23px}.childCount strong{text-align:center;font-variant-numeric:tabular-nums;min-width:24px;font-size:20px}.ageGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px;display:grid}.ageGrid label{color:#4d5b70;gap:6px;font-size:12px;font-weight:800;display:grid}.ageGrid select{color:#253754;background:#fff;border:1px solid #d7d1c9;border-radius:8px;min-height:42px;padding:7px}.detailActions{flex-wrap:wrap;align-items:center;gap:17px;margin-top:22px;display:flex}.primaryButton{color:#fff;background:#bd5d32;border:0;border-radius:9px;min-height:48px;padding:12px 18px;font-weight:800}.countFoot{color:#657080;max-width:80ch;margin:24px 0 0;font-size:13px;line-height:1.55}.reportHead{margin:0 0 18px}.reportTableWrap{background:#fffefa;border:1px solid #d8d4cc;border-radius:12px;width:100%;overflow-x:auto}.reportTable{border-collapse:collapse;width:100%;min-width:720px;font-size:14px}.reportTable th,.reportTable td{text-align:center;font-variant-numeric:tabular-nums;border-bottom:1px solid #e6e2da;padding:13px 12px}.reportTable thead th{color:#3d4a60;letter-spacing:.02em;background:#eae5db;font-size:12px}.reportTable th:first-child{text-align:left;width:43%}.reportTable tbody th{font-weight:700}.reportTable tbody th button{color:#273853;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.reportTable tbody tr{cursor:pointer}.reportTable tbody tr:hover{background:#f7f0e8}.reportTable tbody tr.selected{background:#f5e4d8}.reportTable tbody tr:last-child th,.reportTable tbody tr:last-child td{border-bottom:0}.chartSection,.contactSection,.ageSection,.exportSection{background:#fffefa;border:1px solid #dfdad1;border-radius:14px;margin-top:16px;padding:22px}.chartHeading h3,.exportSection h3{letter-spacing:-.02em;margin:0 0 5px;font-family:Georgia,serif;font-size:24px}.chartHeading p,.exportSection p{color:#657080;margin:0;font-size:14px;line-height:1.45}.chartHeading>span{color:#bd5d32;white-space:nowrap;font-weight:800}.contactGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:17px;display:grid}.contactGrid>div{color:#334159;background:#f5f2ec;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-weight:800;display:flex}.contactGrid strong{font-variant-numeric:tabular-nums;color:#bd5d32;font-family:Georgia,serif;font-size:25px}.barChart{border-bottom:1px solid #d9d4cd;justify-content:center;align-items:stretch;gap:20px;height:250px;margin-top:20px;padding:20px 10px 0;display:flex}.barItem{color:#42516b;background:0 0;border:0;flex-direction:column;justify-content:end;align-items:center;gap:7px;width:min(110px,20%);padding:0 5px;display:flex}.barValue{color:#263b60;font-variant-numeric:tabular-nums;font-family:Georgia,serif;font-size:23px;line-height:1}.barTrack{align-items:end;width:100%;height:170px;display:flex}.barTrack>span{transform-origin:bottom;background:#b2bed0;border-radius:7px 7px 0 0;width:100%;height:100%;transition:transform .25s;display:block}.barItem.chosen .barTrack>span{background:#bd5d32}.barDay{padding:2px 0 9px;font-size:13px;font-weight:800}.barItem.chosen .barDay{color:#a64e29}.chartNote{color:#526078;margin:15px 0 0;font-size:13px}.ageBars{gap:7px;margin-top:17px;display:grid}.ageBars button{color:#334159;text-align:left;background:0 0;border:0;grid-template-columns:42px 1fr 36px;align-items:center;gap:11px;min-height:29px;padding:0;font-size:13px;display:grid}.ageBars button.chosen{color:#a44d27;font-weight:800}.ageBarTrack{background:#ece9e4;border-radius:4px;height:17px;overflow:hidden}.ageBarTrack span{background:#667da1;border-radius:4px;min-width:4px;height:100%;display:block}.ageBars button.chosen .ageBarTrack span{background:#bd5d32}.ageBars strong{text-align:right;font-variant-numeric:tabular-nums}.emptyState{color:#657080;margin:18px 0 0}.exportSection{justify-content:space-between;align-items:center;gap:24px;display:flex}.exportActions{flex-wrap:wrap;flex:none;gap:8px;display:flex}.exportActions button{color:#243a5c;background:#f6f8fa;border:1px solid #bec4cf;border-radius:9px;min-height:44px;padding:9px 13px;font-weight:800}@media (max-width:800px){.quickGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.exportSection{flex-direction:column;align-items:start}}@media (max-width:600px){.appShell{width:min(100% - 24px,520px)}.appHeader{min-height:68px}.brand strong{font-size:17px}.brand small{font-size:9px}.headerTools{gap:7px}.syncStatus{font-size:11px}.topLine{padding:27px 0 22px}.topLine h1{font-size:36px}.topLine p{font-size:14px}.fairStamp{display:none}.viewSwitch{width:100%;margin-bottom:22px}.viewSwitch button{flex:1;padding:9px 10px;font-size:13px}.dayBar{gap:5px;margin-bottom:25px}.dayBar button{gap:0;min-height:60px;padding:7px 2px;display:grid}.dayBar button span{font-size:11px}.dayBar button strong{font-size:22px}.sectionHeading{align-items:start}.sectionHeading h2,.reportHead h2{font-size:29px}.sectionHeading p,.reportHead p{font-size:13px}.undoButton{white-space:normal;padding:7px 9px;font-size:12px;line-height:1.1}.flowGrid,.quickGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.flowTile{min-height:132px;padding:15px}.tileLabel{font-size:17px}.tileBottom strong{font-size:36px}.plusMark{width:33px;height:33px;font-size:23px}.groupHeading{margin-top:28px;display:block}.flowHeading{margin-top:0}.groupHeading p{margin-top:5px;line-height:1.3}.quickTile{min-height:90px}.quickAdd{padding:11px}.quickAdd>span:first-child{font-size:13px}.quickMinus{width:40px}.detailCard{padding:18px}.ageGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.reportHead{align-items:start}.refreshButton{font-size:12px}.chartSection,.contactSection,.ageSection,.exportSection{padding:17px}.contactGrid>div{gap:2px;padding:10px;display:grid}.contactGrid strong{font-size:22px}.barChart{gap:7px;height:225px}.barTrack{height:145px}.barValue{font-size:19px}.chartHeading h3,.exportSection h3{font-size:21px}.chartHeading>span{font-size:12px}.problem{flex-direction:column;align-items:start}.problem button{min-height:40px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.flowTile,.quickAdd,.barTrack>span{transition:none}}
