@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#1c2925;font-synthesis:none;text-rendering:optimizelegibility;--ink:#1c2925;--muted:#71807a;--green:#174d3f;--green-dark:#103c31;--lime:#d9ef9f;--line:#e2e7e1;--surface:#fff;--danger:#b4423c;background:#f4f5f1;font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #9fc767}.brand-mark{background:var(--green);width:39px;height:39px;color:var(--lime);letter-spacing:-.08em;border-radius:13px;flex:none;place-items:center;padding-bottom:4px;font-size:27px;font-weight:800;line-height:1;display:grid}.brand-name{letter-spacing:-.055em;font-size:22px;font-weight:800}.eyebrow{color:#738079;letter-spacing:.11em;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:800;line-height:1.4;display:block}.muted{color:var(--muted)}.centered{text-align:center}.button{border:0;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 18px;font-size:14px;font-weight:700;text-decoration:none;transition:background .18s,transform .18s;display:inline-flex}.button:active:not(:disabled){transform:scale(.98)}.button-primary{background:var(--green);color:#fff}.button-primary:hover:not(:disabled){background:var(--green-dark)}.button-secondary{color:var(--ink);background:#edf0eb}.button-secondary:hover:not(:disabled){background:#e2e8df}.button-ghost{color:#63716b;background:0 0}.button-ghost:hover:not(:disabled){color:var(--ink);background:#f0f2ee}.button-danger{color:#fff;background:#b4423c}.button-small{border-radius:11px;min-height:38px;padding:0 13px;font-size:12px}.button-icon{border-radius:13px;width:44px;height:44px;min-height:44px;padding:0}.field{flex-direction:column;gap:7px;display:flex}.field-label,.permission-field legend{color:#374640;font-size:13px;font-weight:700}.field-hint{color:var(--muted);font-size:12px;line-height:1.5}input,select{width:100%;color:var(--ink);background:#fff;border:1px solid #dce2dc;border-radius:12px;min-height:48px;padding:11px 13px;font-size:15px;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#9ba59f}input:focus,select:focus{border-color:#72966f;outline:none;box-shadow:0 0 0 3px #e6efdf}input:disabled{color:#8b9690;background:#f0f2ee}select{appearance:auto}.input-with-action{position:relative}.input-with-action input{padding-right:48px}.input-with-action button{width:42px;height:42px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:3px;right:4px}.stack-form{flex-direction:column;gap:18px;display:flex}.form-grid{grid-template-columns:1fr;gap:16px;display:grid}.form-actions{justify-content:flex-end;gap:9px;margin-top:4px;display:flex}.form-actions .button{flex:1}.checkbox-row{cursor:pointer;align-items:center;gap:11px;font-size:13px;line-height:1.45;display:flex}.checkbox-row input{appearance:none;border-radius:6px;flex:none;width:20px;height:20px;min-height:20px;padding:0}.checkbox-row input:checked{background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/16px no-repeat;border-color:var(--green)}.permission-field{border:0;flex-direction:column;gap:12px;margin:0;padding:0;display:flex}.permission-field p{color:var(--muted);margin:-6px 0 1px;font-size:12px}.toggle-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.toggle-row>span{flex-direction:column;gap:4px;display:flex}.toggle-row strong{font-size:13px}.toggle-row small{color:var(--muted);font-size:11px;line-height:1.5}.toggle-row input{appearance:none;background:#d8ded8;border:0;border-radius:20px;flex:none;width:45px;height:26px;min-height:26px;padding:2px;transition:background .2s}.toggle-row input:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;display:block;box-shadow:0 1px 4px #0002}.toggle-row input:checked{background:var(--green)}.toggle-row input:checked:before{transform:translate(19px)}.danger-link{color:var(--danger);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;min-height:42px;font-size:12px;font-weight:700;display:flex}.text-link{color:var(--green);background:0 0;border:0;justify-content:center;align-items:center;min-height:40px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.centered-link{margin:10px auto;display:block}.auth-page{background:#fff;flex-direction:column;min-height:100dvh;display:flex}.auth-brand{background:var(--green);color:#fff;padding:max(26px, env(safe-area-inset-top)) 25px 32px;border-radius:0 0 28px 28px;grid-template-columns:auto 1fr;align-items:center;gap:11px;display:grid}.auth-brand .brand-mark{background:var(--lime);color:var(--green)}.auth-brand-copy{grid-column:1/-1;margin-top:29px}.auth-brand-copy h1{margin-bottom:13px;font-size:34px;line-height:1.08}.auth-brand-copy p{color:#c5d5cf;max-width:330px;margin:0;font-size:13px;line-height:1.6}.auth-panel{padding:32px 24px}.auth-form{flex-direction:column;gap:20px;width:100%;max-width:420px;margin:0 auto;display:flex}.auth-heading{margin-bottom:5px}.auth-heading h2{margin-bottom:8px;font-size:28px}.auth-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.auth-submit{flex-direction:row-reverse;width:100%;margin-top:3px}.public-page{min-height:100dvh;padding:max(36px, env(safe-area-inset-top)) 18px 36px;background:radial-gradient(circle at 10% 0,#e4efcd,#0000 45%),#f4f5f1;place-items:center;display:grid}.public-card{background:#fff;border:1px solid #e4e8e1;border-radius:24px;width:100%;max-width:480px;padding:28px 22px;box-shadow:0 20px 70px #173f3510}.public-card>.brand-mark{margin-bottom:28px}.public-card h1{margin-bottom:12px;font-size:28px;line-height:1.15}.public-card>p{color:var(--muted);margin-bottom:23px;font-size:13px;line-height:1.65}.public-card>.button,.public-card>.text-link{width:100%;margin-top:8px}.public-card .segmented{margin-bottom:22px}.success-block{color:var(--green);background:#eff5e8;border-radius:14px;gap:13px;padding:16px;display:flex}.success-block h3{margin-bottom:5px;font-size:15px}.success-block p{color:#5d6f65;margin:0;font-size:12px;line-height:1.5}.success-icon{color:var(--green);margin-bottom:20px}.app-shell{min-height:100dvh}.sidebar{display:none}.app-main{min-width:0}.mobile-header{min-height:70px;padding:max(13px, env(safe-area-inset-top)) 18px 10px;align-items:center;gap:9px;display:flex}.mobile-header .brand-mark{border-radius:11px;width:34px;height:34px;font-size:23px}.mobile-header .brand-name{font-size:20px}.mobile-header select{background:#fff;width:auto;max-width:45%;min-height:38px;margin-left:auto;padding:5px 9px;font-size:12px}.content-area{padding:11px 16px calc(104px + env(safe-area-inset-bottom))}.page-content{max-width:1100px;margin:0 auto}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-header h1{margin-bottom:8px;font-size:30px;line-height:1.1}.page-header p{color:var(--muted);margin:0;font-size:12px}.page-add{border-radius:15px;flex:none;width:48px;height:48px}.bottom-nav{z-index:20;height:calc(72px + env(safe-area-inset-bottom));padding:7px 8px env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line);background:#fffffff2;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#849089;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;font-weight:600;display:flex}.bottom-nav button.active{color:var(--green)}.bottom-nav button.active:before{content:"";background:var(--green);border-radius:0 0 4px 4px;width:29px;height:3px;position:absolute;top:5px}.toolbar{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.search{position:relative}.search svg{color:#7d8983;position:absolute;top:14px;left:13px}.search input{background:#fff;border-color:#0000;padding-left:42px}.segmented{background:#e9ede7;border-radius:13px;gap:3px;padding:4px;display:flex}.segmented button{color:#6e7a74;white-space:nowrap;background:0 0;border:0;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:6px 10px;font-size:11px;font-weight:700;display:flex}.segmented button.active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #1c29250d}.segmented button span{background:#dfe5dc;border-radius:20px;padding:1px 6px;font-size:10px}.segmented button.active span{background:#edf2e7}.segmented.compact{width:100%}.page-tabs{margin-bottom:18px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.data-table-wrap{scrollbar-width:thin;background:#fff;border:1px solid #e1e6df;border-radius:16px;overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;min-width:820px}.data-table th{color:#6d7972;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:#f0f3ed;padding:12px 15px;font-size:10px;font-weight:800}.data-table td{vertical-align:top;border-top:1px solid #e8ece6;padding:14px 15px;font-size:12px}.data-table th:first-child,.data-table td:first-child{z-index:1;background:#fff;position:sticky;left:0;box-shadow:1px 0 #e8ece6}.data-table th:first-child{background:#f0f3ed}.data-table tbody tr:hover td{background:#fafbf9}.service-cell{min-width:205px;max-width:310px}.service-cell strong{overflow-wrap:anywhere;line-height:1.45;display:inline}.service-kind{color:#738178;margin-top:5px;font-size:9px;display:block}.table-people{flex-direction:column;gap:9px;min-width:120px;display:flex}.table-person{flex-direction:column;gap:3px;display:flex}.table-person strong{font-size:12px}.table-person span,.table-date{color:var(--muted);white-space:nowrap;font-size:10px}.future-person strong{color:#52675a}.table-actions{white-space:nowrap;align-items:center;gap:2px;display:flex}.table-actions .button-icon{width:36px;height:36px;min-height:36px}.status{letter-spacing:.01em;white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.status>span:empty{background:currentColor;border-radius:50%;width:5px;height:5px}.status-free{color:#4e6f25;background:#edf5d9}.status-active{color:#286250;background:#e1eee9}.status-muted{color:#7b8781;background:#edf0ed}.duration{color:#7b8882;white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}.avatar{color:#44613c;background:#e8eddc;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid}.member-rights{align-items:center;gap:6px;min-width:150px;display:flex}.you-label{color:#70806f;letter-spacing:0;background:#edf1e9;border-radius:6px;margin-left:7px;padding:2px 5px;font-size:8px;font-weight:600}.wide-action{width:100%;margin-bottom:14px}.avatar-profile{background:var(--green);width:48px;height:48px;color:var(--lime);border-radius:15px;font-size:18px}.profile-group-card{background:var(--green);color:#fff;border-radius:20px;margin-bottom:25px;padding:23px}.profile-group-card .eyebrow{color:#a9c3b8}.profile-group-card h2{margin-bottom:10px;font-size:24px}.profile-group-card>p{color:#bfd0c9;align-items:center;gap:7px;margin-bottom:20px;font-size:12px;display:flex}.profile-role{color:#e1edce;border-top:1px solid #ffffff1f;align-items:center;gap:8px;padding-top:16px;font-size:12px;font-weight:600;display:flex}.settings-section{margin-bottom:25px}.settings-section>h2{letter-spacing:-.02em;margin-bottom:11px;font-size:14px}.permission-chips{flex-wrap:wrap;gap:7px;display:flex}.permission-chips>span{color:#4b6354;background:#e7ede2;border-radius:9px;padding:7px 10px;font-size:11px}.settings-list{background:#fff;border:1px solid #e5e9e3;border-radius:17px;overflow:hidden}.settings-list>button{width:100%;min-height:68px;color:var(--ink);text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0eb;align-items:center;gap:11px;padding:12px 13px;display:flex}.settings-list>button:last-child{border-bottom:0}.settings-list>button>span:nth-child(2){flex-direction:column;flex:1;gap:4px;display:flex}.settings-list strong{font-size:12px}.settings-list small{color:var(--muted);font-size:10px;line-height:1.45}.settings-list>button>svg{color:#97a19c;flex:none}.settings-icon{color:#526e5d;background:#eef2eb;border-radius:11px;flex:none;place-items:center;width:37px;height:37px;display:grid}.account-id{color:#9aa49e;text-align:center;font-size:10px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:320px;padding:50px 20px;display:flex}.empty-icon{color:#62755f;background:#e8ede3;border-radius:20px;place-items:center;width:62px;height:62px;margin-bottom:19px;display:grid}.empty-state h2{margin-bottom:9px;font-size:20px}.empty-state p{max-width:330px;color:var(--muted);margin-bottom:20px;font-size:12px;line-height:1.6}.empty-actions{flex-direction:column;gap:6px;display:flex}.page-state{min-height:280px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:12px;display:flex}.notice{border-radius:12px;align-items:center;gap:10px;margin-bottom:16px;padding:12px 13px;font-size:12px;line-height:1.5;display:flex}.notice-error{color:#943d38;background:#fbebe8;border:1px solid #f4dcd7}.notice>span{flex:1}.notice>svg{flex:none}.notice .button{color:#943d38}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10251f66;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{width:100%;max-height:92dvh;padding:9px 20px max(24px, env(safe-area-inset-bottom));background:#fff;border-radius:24px 24px 0 0;animation:.22s ease-out sheet-in;overflow-y:auto;box-shadow:0 -20px 70px #10251f22}.modal-handle{background:#d9dfda;border-radius:4px;width:36px;height:4px;margin:0 auto 13px}.modal-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:23px;display:flex}.modal-header h2{margin-bottom:7px;font-size:23px}.modal-header p{color:var(--muted);max-width:360px;margin:0;font-size:11px;line-height:1.55}.modal-header .button{margin:-7px -8px 0 0}.confirm-text{color:#5e6c65;margin-bottom:24px;font-size:13px;line-height:1.65}@keyframes sheet-in{0%{opacity:.5;transform:translateY(30px)}}.toast{z-index:200;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));color:#fff;background:#173f35;border-radius:13px;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 32px);padding:13px 17px;font-size:12px;font-weight:600;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 35px #10251f33}.share-invitation{flex-direction:column;gap:12px;display:flex}.qr-code{border:1px solid var(--line);border-radius:17px;width:210px;height:210px;margin:0 auto 4px;display:block}.copy-field{gap:7px;display:flex}.copy-field input{color:#617069;min-width:0;font-size:11px}.share-invitation>.button{width:100%}.share-invitation>p{margin:0;font-size:11px}.app-loading{flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;display:flex}.app-loading .page-state{min-height:100px}@media (width>=560px){.form-grid{grid-template-columns:1fr 1fr}.form-actions .button{flex:none}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{flex-direction:row;align-items:center}.search{flex:1}.segmented.compact{width:auto;min-width:235px}}@media (width>=900px){.auth-page{grid-template-columns:minmax(370px,.9fr) 1.1fr;display:grid}.auth-brand{border-radius:0;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:50px;display:flex}.auth-brand-copy{margin:auto 0}.auth-brand-copy h1{font-size:clamp(44px,5vw,68px)}.auth-brand-copy p{max-width:390px;font-size:15px}.auth-panel{place-items:center;padding:50px;display:grid}.public-card{padding:36px}.app-shell{grid-template-columns:248px minmax(0,1fr);display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:100dvh;padding:28px 17px 20px;display:flex;position:sticky;top:0}.sidebar-brand{align-items:center;gap:10px;margin-bottom:34px;padding:0 10px;display:flex}.sidebar-group{flex-direction:column;gap:7px;margin:0 3px 22px;display:flex}.sidebar-group>span{color:var(--muted);padding-left:5px;font-size:10px;font-weight:700}.sidebar-group select{background:#f5f7f3;border-color:#0000;min-height:43px;font-size:12px}.side-nav{flex-direction:column;gap:5px;display:flex}.side-nav button{color:#77847d;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;min-height:47px;padding:0 14px;font-size:13px;font-weight:600;display:flex}.side-nav button.active{color:var(--green);background:#e9efe2;font-weight:800}.sidebar-create{margin:22px 3px 0;font-size:11px}.sidebar-account{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding:19px 7px 0;display:flex}.sidebar-account>div:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.sidebar-account strong{text-overflow:ellipsis;font-size:12px;overflow:hidden}.sidebar-account span{color:var(--muted);font-size:9px}.mobile-header,.bottom-nav{display:none}.content-area{padding:43px 40px 60px}.page-header{margin-bottom:30px}.page-header h1{font-size:36px}.page-header p{font-size:13px}.page-add{width:auto;padding:0 18px}.page-add:after{content:"Добавить"}.profile-page{max-width:700px}.modal-backdrop{align-items:center;padding:28px}.modal{border-radius:23px;width:480px;max-height:min(850px,92dvh);padding:25px 27px;animation:.18s ease-out modal-in}.modal-wide{width:650px}.modal-handle{display:none}.modal-header{margin-bottom:25px}.toast{bottom:30px}@keyframes modal-in{0%{opacity:.5;transform:translateY(10px)scale(.98)}}}@media (width>=1240px){.app-shell{grid-template-columns:270px minmax(0,1fr)}.content-area{padding-left:50px;padding-right:50px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
