:root{--bg:#f4f6f3;--ink:#1e3029;--text:#34443b;--muted:#718178;--green:#174d3f;--green2:#2d765d;--light:#e8f2eb;--lime:#dcebc3;--line:#e0e8e2;--white:#fff;--shadow:0 6px 30px rgba(33,59,43,.055)}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);margin:0;line-height:1.42}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5}.site{max-width:1000px;margin:auto}.top{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:#fff}.logo{display:flex;align-items:center;gap:10px}.logo>span:last-child{display:flex;flex-direction:column}.logo strong{font-size:15px;letter-spacing:-.35px}.logo small{font-size:11px;color:var(--muted);margin-top:2px}.brandmark{background:var(--green);color:#fff;width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;letter-spacing:-1px}.topuser{font-size:12px;background:var(--bg);padding:10px 12px;border-radius:12px;white-space:nowrap;color:#516358}.topuser span{margin-left:6px}.main{padding:22px 18px 112px;max-width:780px;margin:auto}.pageheading h1{font-size:25px;line-height:1.15;letter-spacing:-.85px;margin:0 0 20px}.welcome{background:#153e32;padding:25px 25px 29px;border-radius:24px;color:#fff;margin-bottom:15px;position:relative;overflow:hidden}.welcome:after{content:'';position:absolute;background:#396f54;width:220px;height:220px;border-radius:50%;right:-140px;top:-115px;opacity:.32}.eyebrow{color:#c1e9c8;font-size:10px;font-weight:800;letter-spacing:2px;margin:0 0 10px}.welcome h2{font-size:25px;line-height:1.16;max-width:330px;letter-spacing:-.7px;margin:0 0 11px}.welcome>p:last-child{font-size:13px;max-width:350px;color:#d9eee2;margin:0}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.stat{background:#fff;box-shadow:var(--shadow);border:1px solid var(--line);padding:16px;border-radius:18px;min-width:0;display:flex;flex-direction:column;gap:8px}.stat>span{color:#6a8070;font-size:12px}.stat strong{font-size:23px;letter-spacing:-1px;overflow-wrap:anywhere}.stat small{font-size:11px;color:var(--muted)}.progress-block{background:#fff;border:1px solid var(--line);padding:17px;border-radius:18px;margin-bottom:14px}.split{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:13px}.track{height:9px;background:#e7efe9;border-radius:20px;overflow:hidden}.track>div{height:100%;background:#3a946a;border-radius:20px}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.action{border:1px solid var(--line);background:#fff;min-height:137px;border-radius:20px;padding:18px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;box-shadow:var(--shadow)}.action-green{background:#dff0e3;border-color:#d1e7d7}.action-lime{background:var(--lime);border-color:#d4e7b6}.action-icon{font-size:24px;background:#fff9;display:inline-flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:12px;margin-bottom:7px;color:#225241;font-weight:600}.action strong{font-size:14px;line-height:1.2}.action small{color:#667b6a;font-size:11px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 11px}.section-title h2{font-size:17px;margin:0;letter-spacing:-.2px}.section-title a{font-size:13px;color:var(--green2);font-weight:700}.task-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;margin:10px 0;padding:15px 17px;box-shadow:var(--shadow)}.task-card:active,.money-row:active{transform:scale(.996)}.task-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.task-title-row strong{font-size:15px;line-height:1.36;max-width:70%}.task-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;color:var(--muted);font-size:12px;margin-top:11px}.task-bottom{font-size:12px;color:#476f55;margin-top:9px;font-weight:700}.status{font-size:10px;white-space:nowrap;border-radius:999px;background:#f0f2f1;padding:6px 9px;font-weight:700}.status-new{background:#eaf0ed;color:#577064}.status-doing{background:#e9f1fb;color:#355b8e}.status-approve{background:#fff2d6;color:#9a650a}.status-blocked{background:#fee5e4;color:#a33739}.status-done{background:#e2f5e7;color:#26764c}.urgent{color:#bc4433;font-size:12px;font-weight:700;margin-top:9px}.bottomnav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--line);padding:9px max(env(safe-area-inset-right),12px) calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px rgba(0,0,0,.035)}.bottomnav a{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:62px;flex:1;color:#86948a;font-size:10px;font-weight:700}.bottomnav a span{height:29px;font-size:21px;line-height:26px}.bottomnav a.active{color:#196548}.bottomnav a.active span{font-weight:900}.panel{background:#fff;border:1px solid var(--line);border-radius:19px;padding:19px;margin:12px 0;box-shadow:var(--shadow)}.panel h2{font-size:18px;letter-spacing:-.5px;margin:3px 0 14px}.panel h3{font-size:15px;margin:22px 0 10px}.panel p{line-height:1.6}.muted{color:var(--muted)}.tiny{font-size:12px}.help{color:var(--muted);font-size:12px;margin:0 0 15px!important}.backlink{display:inline-block;font-size:13px;color:#4b715b;font-weight:700;margin:0 0 15px}.detailheading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.detailheading h2{margin:0;font-size:19px;letter-spacing:-.45px}.toolbar{display:flex;justify-content:space-between;margin-bottom:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #cbdcd0;background:#f4f8f5;color:#285140;border-radius:13px;min-height:44px;padding:10px 17px;font-size:13px;font-weight:800;text-align:center}.btn-primary{background:var(--green);color:#fff;border-color:var(--green)}.btn-large{width:100%;min-height:52px;font-size:15px}.btn-ghost{background:none;border-color:#e0e6e1;color:#737e75}.textbtn{border:0;background:none;color:#9b4233;font-size:12px;margin-top:5px}.notice{border-radius:13px;background:#e1f1e4;color:#226042;padding:12px 15px;margin:0 0 17px;font-size:14px}.notice-error{background:#ffe9e7;color:#993930}.chips{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:2px 0 13px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips a{border:1px solid var(--line);border-radius:999px;white-space:nowrap;background:#fff;color:#647369;padding:8px 12px;font-size:12px;font-weight:700}.chips a.selected{background:var(--green);color:#fff;border-color:var(--green)}.empty{border-radius:17px;border:1px dashed #bfcfc2;padding:25px;text-align:center;color:var(--muted);font-size:14px}.editform label,.panel label,.quickline label{display:block;color:#3d5045;font-size:12px;font-weight:800;margin-bottom:14px}.editform input,.editform select,.editform textarea,.panel input,.panel select,.panel textarea,.quickline select{width:100%;margin-top:7px;border:1px solid #d5e1d7;border-radius:11px;padding:12px 13px;background:#fbfcfa;outline:0;font-size:15px;color:var(--ink);min-height:46px}.editform input:focus,.editform select:focus,.editform textarea:focus,.panel input:focus,.quickline select:focus{border-color:#2a8660;box-shadow:0 0 0 3px rgba(53,139,90,.11)}.editform textarea{resize:vertical;min-height:95px}.two,.three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.three label{font-size:11px;min-width:0}.three input{min-width:0;padding:10px 7px}.quickline{background:#e9f4eb;border:1px solid #d7e6d9;border-radius:15px;padding:12px;display:flex;align-items:end;gap:10px}.quickline label{flex:1;margin:0}.quickline .btn{margin-bottom:0;white-space:nowrap}.sub-item{display:flex;align-items:flex-start;gap:11px;padding:11px 0;border-bottom:1px solid #edf1ed;font-size:14px;line-height:1.5}.sub-check{flex:0 0 27px;width:27px;height:27px;border:2px solid #b1c6b4;border-radius:8px;background:#fff;color:#fff;padding:0;line-height:22px;font-size:16px;font-weight:900}.sub-check.checked{background:#338657;border-color:#338657}.struck{text-decoration:line-through;color:#829087}.add-sub{display:flex;gap:8px;align-items:center;margin-top:16px}.add-sub input{min-width:0;flex:1;margin:0;padding:11px;border:1px solid #d5e1d7;border-radius:10px}.add-sub button{white-space:nowrap}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photocard img{width:100%;height:105px;object-fit:cover;border-radius:10px;background:#e9ece8}.photoform{margin-top:15px}.photoform input{background:#fff}.history summary{font-weight:800;cursor:pointer}.history p{font-size:12px;border-top:1px solid #e9efe9;padding-top:9px}.history p small{color:#839188;display:block;margin:2px 0}.history p span{color:#7a897e}.archiveform{margin-top:25px}.money-stats .stat{padding:14px}.money-stats .stat strong{font-size:20px}.money-row{display:block;background:#fff;border:1px solid var(--line);padding:14px;border-radius:14px;margin-bottom:9px}.money-row>strong{display:block;font-size:14px}.money-row>div{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:9px}.money-row small{color:#708177;font-size:12px}.money-row>span{display:block;color:#356d52;font-size:12px;text-align:right;font-weight:700}.loginpanel{max-width:420px;margin:40px auto}.setupwrap{max-width:590px;margin:25px auto;padding:0 15px}.setupwrap h1{margin:14px 0 7px;font-size:25px}.setupwrap .panel{padding:25px}.setupwrap h2{border-top:1px solid var(--line);padding-top:19px;margin-top:24px}.setupwrap label{display:block}.setupwrap input{width:100%}
@media(min-width:760px){.main{padding:36px 26px 80px}.bottomnav{position:static;max-width:780px;margin:20px auto;border-radius:20px;border:1px solid var(--line);padding:12px}.bottomnav a{font-size:12px}.stats{grid-template-columns:repeat(4,1fr)}.stats .stat strong{font-size:22px}.action-grid{grid-template-columns:repeat(4,1fr)}.action{min-height:142px}.pageheading h1{font-size:30px}.welcome h2{font-size:32px}}
@media(max-width:380px){.main{padding:17px 12px 108px}.top{padding:12px}.action{padding:14px 11px}.action strong{font-size:13px}.stat{padding:12px}.stat strong{font-size:21px}.three{grid-template-columns:1fr 1fr}.three label:last-child{grid-column:1/-1}.quickline{flex-direction:column;align-items:stretch}}

.progress-native{width:100%;height:12px;appearance:none;-webkit-appearance:none;border:0;border-radius:20px;overflow:hidden;background:#e7efe9}.progress-native::-webkit-progress-bar{background:#e7efe9;border-radius:20px}.progress-native::-webkit-progress-value{background:#3a946a;border-radius:20px}.progress-native::-moz-progress-bar{background:#3a946a;border-radius:20px}

.advanced{border:1px solid var(--line);border-radius:12px;margin:14px 0 18px;padding:12px}.advanced summary{font-size:13px;font-weight:800;color:#3c6a53;cursor:pointer}.advanced[open] summary{margin-bottom:15px}.advanced .two{margin-top:5px}.editform>label{margin-bottom:18px}
/* Версія 2: призначення, окрема перевірка, прості кнопки */
.status-attention{background:#fff0c9;color:#895c12}.status-review{background:#e3eafd;color:#385a97}.status-returned{background:#ffebdc;color:#954917}
.responsibles{display:grid;gap:4px;margin-top:11px;font-size:12px;color:#607368}.responsibles b{color:#355346;font-weight:750}
.people-strip{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:8px;padding:14px;background:#e8f2eb;border-radius:16px;margin-bottom:14px}.people-strip>div{min-width:0}.people-strip small{display:block;font-size:11px;color:#6d8273;margin-bottom:3px}.people-strip strong{font-size:14px;overflow-wrap:anywhere}.people-strip .arrow{text-align:center;color:#49806a;font-size:22px}
.decision{margin:12px 0}.decision .btn{width:100%}.decision .help{margin-bottom:8px!important}.minor-action{margin:10px 0}.btn-danger{background:#fff0e5;border:1px solid #eccabf;color:#9e3c26}.reviewbox{background:#f7fbf7;border-color:#cce1ce}.reviewbox .advanced{background:#fff}
.ownerbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#fff;padding:12px 14px;border:1px solid var(--line);border-radius:13px;margin-bottom:14px;font-size:12px}.ownerbar>a{font-weight:800;color:#297551}.ownerbar span{color:#7b8b7d}
.event{padding:12px 0;border-bottom:1px solid #edf1ed;overflow-wrap:anywhere}.event b{display:block;font-size:13px}.event small{display:block;color:#849187;margin:3px 0}.event p{font-size:13px;margin:6px 0 2px;line-height:1.5}
.usercard .userline{display:flex;align-items:center;justify-content:space-between;gap:10px}.usercard p{margin:8px 0}.usercard .advanced{margin-bottom:0}
.reviewbox label,.editform label{font-size:13px}.reviewbox textarea{width:100%;padding:12px;border:1px solid #d5e1d7;border-radius:10px;margin-top:6px;min-height:85px}.reviewbox .advanced form{margin-top:15px}
@media(max-width:420px){.people-strip{grid-template-columns:1fr 18px 1fr;padding:12px}.people-strip strong{font-size:12px}.responsibles{font-size:11px}}
.status-attention{background:#fff1d8;color:#8e650d}.status-review{background:#e5efff;color:#285997}.status-returned{background:#ffeddf;color:#995322}.status-doing{background:#e6f1fa;color:#346492}.status-done{background:#e2f5e7;color:#26764c}.status-blocked{background:#fee5e4;color:#a33739}
.responsibles{display:flex;flex-direction:column;gap:2px;margin-top:10px;font-size:12px;color:#647b6c}.responsibles b{color:#375344}.note-content{white-space:normal;overflow-wrap:anywhere}.button-stack{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-start;margin:14px 0}.button-stack form{margin:0}.button-stack form:not(.inlineform){width:100%}.button-stack form:not(.inlineform) textarea{width:100%}.button-stack .btn{min-width:165px}.filename{display:block;font-size:11px;overflow-wrap:anywhere;color:#607a6b;margin:4px 0}.documenttile{display:flex;align-items:center;justify-content:center;min-height:105px;background:#e7efe9;border-radius:12px;font-weight:800}.event{border-top:1px solid #e9efe9;margin-top:12px;padding-top:12px;font-size:13px;overflow-wrap:anywhere}.event small{display:block;color:var(--muted);font-size:11px;margin:4px 0}.event p{margin:7px 0;font-size:13px}.userpanel .split{margin-bottom:4px}.userpanel .advanced{margin-bottom:2px}.photocard{min-width:0}.photos{grid-template-columns:repeat(2,minmax(0,1fr))}.inlineform{display:inline-flex;align-items:center}.main .panel textarea{min-height:85px}
@media(min-width:600px){.photos{grid-template-columns:repeat(3,minmax(0,1fr))}}
