:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--tg-theme-text-color, #1d1d24);background:var(--tg-theme-bg-color, #f7f7fa);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--tg-theme-bg-color, #f7f7fa)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.shell{max-width:920px;margin:auto;padding:max(18px,env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom));min-height:100svh}.topbar{display:flex;justify-content:space-between;align-items:flex-start;margin:8px 0 24px}.account-actions{display:flex;align-items:center;gap:8px}.write-access{border:0;background:var(--tg-theme-secondary-bg-color, #ececf1);border-radius:8px;padding:8px;font-size:12px;color:inherit}.eyebrow{display:block;color:var(--tg-theme-hint-color, #72727d);font-size:10px;font-weight:800;letter-spacing:.14em}.topbar h1,.login h1{font-size:clamp(28px,5vw,38px);letter-spacing:-.045em;line-height:1;margin:7px 0}.avatar{border:0;border-radius:50%;width:38px;height:38px;background:var(--tg-theme-button-color, #2878dc);color:var(--tg-theme-button-text-color, #fff);font-weight:800}.project-strip{display:flex;gap:7px;overflow-x:auto;margin:0 -16px 18px;padding:0 16px;scrollbar-width:none}.project-strip button{border:0;background:transparent;white-space:nowrap;color:var(--tg-theme-hint-color, #72727d);padding:8px 10px;border-radius:9px}.project-strip .selected{background:var(--tg-theme-secondary-bg-color, #e9e9ef);color:var(--tg-theme-text-color, #1d1d24);font-weight:700}.project-strip .add-project{font-size:20px;padding:2px 9px}.toolbar{display:flex;gap:8px;margin-bottom:16px}.search{display:flex;align-items:center;gap:7px;flex:1;background:var(--tg-theme-secondary-bg-color, #ececf1);border-radius:10px;padding:0 11px;color:var(--tg-theme-hint-color, #72727d)}.search input{width:100%;background:transparent;border:0;outline:0;padding:11px 0;color:inherit}.select select{height:100%;border:0;border-radius:10px;background:var(--tg-theme-secondary-bg-color, #ececf1);padding:0 8px;color:inherit}.task-list{border-top:1px solid var(--tg-theme-section-separator-color, #dedee5)}.task-row{display:flex;width:100%;gap:11px;align-items:center;text-align:left;padding:14px 2px;border:0;border-bottom:1px solid var(--tg-theme-section-separator-color, #dedee5);background:transparent;color:inherit}.task-main{flex:1;min-width:0}.task-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}.task-main small,.detail small,.simple-list small{display:block;color:var(--tg-theme-hint-color, #72727d);font-size:12px;margin-top:3px}.dot{width:8px;height:8px;border-radius:99px;background:#8090a0;flex:none}.dot.in_progress{background:#e29b31}.dot.done{background:#3caa73}.dot.cancelled{background:#a2a2aa}.status{font-size:11px;font-weight:700;color:#5b6470;white-space:nowrap}.status.in_progress{color:#b87213}.status.done{color:#238052}.status.cancelled{text-decoration:line-through}.empty{padding:54px 12px;text-align:center;color:var(--tg-theme-hint-color, #72727d)}.empty strong{display:block;color:inherit;margin-bottom:5px}.empty span{font-size:13px}.fab{position:fixed;right:max(18px,calc((100vw - 900px)/2));bottom:calc(18px + env(safe-area-inset-bottom));height:50px;width:50px;border:0;border-radius:50%;font-size:30px;line-height:1;background:var(--tg-theme-button-color, #2878dc);color:var(--tg-theme-button-text-color, #fff);box-shadow:0 8px 24px #0003}.dialog{border:0;border-radius:18px;color:inherit;background:var(--tg-theme-bg-color, #fff);max-width:620px;width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:0;box-shadow:0 18px 70px #0004}.dialog::backdrop{background:#10101866}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;border-bottom:1px solid var(--tg-theme-section-separator-color, #e2e2e7)}.dialog h2{font-size:18px;margin:0;letter-spacing:-.02em}.icon{border:0;background:transparent;font-size:27px;line-height:1;color:var(--tg-theme-hint-color, #72727d)}.detail,.form,.simple-list,.inline-form,.copy{padding:18px}.detail h3{font-size:23px;letter-spacing:-.035em;margin:14px 0 9px}.detail-meta{display:flex;justify-content:space-between;color:var(--tg-theme-hint-color, #72727d);font-size:12px}.description{white-space:pre-wrap;line-height:1.5;margin:0 0 18px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 16px}.gallery a{aspect-ratio:1;border-radius:8px;overflow:hidden;background:#ddd}.gallery img,.previews img{width:100%;height:100%;object-fit:cover}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.actions button,.simple-list button,.copy button{border:0;background:var(--tg-theme-secondary-bg-color, #ececf1);color:inherit;border-radius:8px;padding:8px 10px;font-size:13px}.primary{border:0;border-radius:10px;background:var(--tg-theme-button-color, #2878dc);color:var(--tg-theme-button-text-color, #fff);padding:11px 15px;font-weight:700;text-decoration:none;display:inline-block}.danger{color:#bd3c45!important}.form{display:grid;gap:15px}.form label{display:grid;gap:6px;font-weight:650;font-size:13px}.form input,.form textarea,.form select,.inline-form input,.copy input{border:1px solid var(--tg-theme-section-separator-color, #dedee5);border-radius:8px;background:transparent;color:inherit;padding:9px;outline-color:var(--tg-theme-button-color, #2878dc)}.label{font-size:13px;font-weight:650}.upload{display:inline-block;margin-top:7px;border:1px dashed var(--tg-theme-hint-color, #72727d);border-radius:8px;padding:8px 10px;font-size:13px}.previews{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.previews>span{width:58px;height:58px;position:relative}.previews img{border-radius:7px}.previews button{position:absolute;top:-6px;right:-6px;border:0;border-radius:50%;height:19px;width:19px;background:#222;color:#fff}.project-tools{display:flex;align-items:center;gap:10px;padding:10px 0 15px;font-size:13px}.project-tools strong{margin-right:auto}.project-tools button{border:0;background:transparent;color:var(--tg-theme-link-color, #2676d5);padding:4px}.simple-list{padding-top:5px}.simple-list>div{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid var(--tg-theme-section-separator-color, #dedee5);font-size:13px}.simple-list>div>span:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.inline-form{display:flex;gap:7px;padding-bottom:0}.inline-form input{min-width:0;flex:1}.copy{display:flex;gap:7px;padding-top:10px}.copy input{min-width:0;flex:1}.pager{display:flex;gap:10px;justify-content:center;padding:20px}.pager button{border:0;background:transparent;color:var(--tg-theme-link-color, #2676d5)}.toast{position:fixed;z-index:4;left:50%;bottom:85px;transform:translate(-50%);max-width:calc(100% - 36px);background:#292932;color:#fff;border-radius:10px;padding:10px 13px;font-size:13px;box-shadow:0 8px 30px #0003}.form-error{margin:0;color:#bd3c45;font-size:13px}.login{max-width:410px;margin:18svh auto;padding:28px}.login p{line-height:1.5;color:var(--tg-theme-hint-color, #72727d);margin:18px 0 24px}.muted{color:var(--tg-theme-hint-color, #72727d);font-size:13px}.center{height:100svh;display:grid;place-content:center;gap:14px;color:var(--tg-theme-hint-color, #72727d)}.spinner{width:20px;height:20px;border:2px solid #b6c0cf;border-top-color:var(--tg-theme-button-color, #2878dc);border-radius:50%;animation:spin .7s linear infinite;margin:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes spin{to{transform:rotate(1turn)}}@media(min-width:700px){.shell{padding-top:42px}.topbar{margin-bottom:34px}.task-row{padding:16px 4px}.gallery{grid-template-columns:repeat(4,1fr)}.fab{right:max(32px,calc((100vw - 880px)/2))}}@media(prefers-reduced-motion:no-preference){.task-row{transition:background .16s,transform .16s}.task-row:hover{background:var(--tg-theme-secondary-bg-color, #ececf1)}.dialog{animation:appear .15s ease-out}@keyframes appear{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
