:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#1c192c;background:#eee8f4;font-synthesis:none}body{margin:0;background:#eee8f4}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8f7fea;outline-offset:3px}::selection{background:#ddd3ff}h1,h2,h3,h4,p,span{overflow-wrap:break-word}.app-frame{max-width:480px;margin:0 auto;min-height:100dvh;background:#fdf8ff;position:relative;box-shadow:0 0 70px #30203f0a}.app-frame>header{left:50%;transform:translateX(-50%);width:min(100%,480px);padding-top:env(safe-area-inset-top,0px)}.app-frame>header>div{height:80px;padding-left:20px;padding-right:20px;gap:10px}.prototype-main{padding:calc(96px + env(safe-area-inset-top,0px)) 20px calc(145px + env(safe-area-inset-bottom,0px))!important;min-height:100dvh;overflow-wrap:anywhere}.prototype-main>div{min-width:0}.local-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}.local-icon svg{width:1em;height:1em}.initial-avatar{display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e9e1ff;color:#5341cd;font-size:11px;font-weight:650}.logo{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;color:white;background:#5341cd;flex-shrink:0}.role-switch{max-width:205px;width:100%;border-radius:20px;border:0;background:#ebe5ff;color:#5341cd;font-size:10px;font-weight:600;padding:5px 20px 5px 8px;min-height:30px}.app-frame header button[aria-label="Уведомления"]{width:40px;height:40px}.app-frame header button:has(.local-icon){min-height:40px}.screen-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px}.screen-title h1{font-size:26px;font-weight:700;letter-spacing:-.025em;line-height:1.3;margin:0;overflow-wrap:anywhere}.screen-title>span{font-size:11px;color:#787086;white-space:nowrap}.screen-subtitle{color:#62596e;font-size:13px;line-height:1.6;margin:0 0 20px}.period-control{display:flex;gap:3px;border-radius:30px;background:#ebe5ff;padding:4px;margin-bottom:2px}.period-control button{flex:1;min-width:0;min-height:40px;padding:7px 3px;border-radius:25px;font-size:11px;font-weight:600;line-height:1.3}.period-control button.active{background:#1c192c;color:white}.actual-hero{padding:23px!important;min-height:230px}.hero-line{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#583600;font-size:15px;font-weight:650}.hero-line>span:first-child{display:flex;gap:7px;align-items:center}.demo-pill{background:#fff4d35c;border-radius:20px;padding:4px 9px;font-size:10px}.hero-number{font-size:44px;font-weight:750;line-height:1.3;margin-top:9px;letter-spacing:-.03em;color:#291800}.hero-period{font-size:11px;line-height:1.6;color:#5e3c0d;margin:0 0 16px}.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:15px;border-top:1px solid #99611626}.hero-inner>div{background:#ffe6ac55;border-radius:15px;padding:11px;display:grid;gap:4px}.hero-inner span{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.04em}.hero-inner strong{font-size:23px;line-height:1.2;color:#291800}.hero-inner small{font-size:9px;color:#5f3d10}.tap-card{cursor:pointer}.tap-card:hover{filter:brightness(.99)}.app-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));width:calc(100% - 32px);max-width:448px;display:flex;padding:5px;gap:3px;border-radius:40px;background:#fffffff2;box-shadow:0 12px 32px -8px #2016302b;backdrop-filter:blur(16px);z-index:35}.app-nav a{flex:1;min-width:0;min-height:55px;padding:7px 3px;border-radius:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;font-weight:650;line-height:1.2;color:#534d60}.app-nav a.active{background:#5341cd;color:white}.demo-note{font-size:10px;line-height:1.6;color:#71677e;text-align:center;margin:20px 0 0}.reference-task h2{line-height:1.45;font-size:18px!important;overflow-wrap:anywhere}.reference-task>div:last-child{gap:10px}.reference-task>div:last-child>div{min-width:0}.reference-task>div:last-child button{flex-shrink:0;min-height:40px}.reference-task>div:last-child>div>span:last-child{font-size:11px;line-height:1.4}.reference-task>div:first-child{gap:5px}.reference-task>div:first-child>button{width:36px;height:36px;flex-shrink:0}.reference-task>div:first-child>div{min-width:0;gap:5px}.stream-tag,.status-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:20px;background:#ebe5ff;color:#5341cd;font-size:10px;font-weight:650;line-height:1.4}.status-badge.danger{background:#ffdad8;color:#881d24}.reference-task .stream-tag{max-width:100%;white-space:normal}.filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:30px;padding:8px 14px;white-space:nowrap;font-size:12px;line-height:1.2;background:#f3edfc;color:#554e65;flex-shrink:0}.filter-chip.selected{background:#1c192c;color:white}.filter-chip.selected.amber{background:#feae2c;color:#633f00}.floating-action{position:fixed;bottom:calc(98px + env(safe-area-inset-bottom,0px));right:max(20px,calc((100vw - 440px)/2));border-radius:35px;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 20px;background:#0a9d72;color:white;font-size:14px;font-weight:650;box-shadow:0 6px 20px #0c695529;z-index:30}.floating-action.purple{background:#5341cd}.task-stack{display:grid;gap:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0}.section-heading h2{font-size:17px;font-weight:650;line-height:1.4}.section-heading p{font-size:11px;color:#62596e;line-height:1.6}.section-heading>button{min-height:40px;min-width:40px;border-radius:50%}.secondary,.text-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:30px;padding:9px 15px;background:#f1ebff;color:#5341cd;font-size:12px;font-weight:600}.text-action{background:transparent;padding:7px 0;font-size:11px}.dark-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;border-radius:30px;padding:12px 18px;color:white;background:#312e42;font-size:13px;font-weight:600}.dark-button:disabled{opacity:.5}.back-row{display:flex;align-items:center;gap:7px;color:#5341cd;font-size:13px;min-height:44px;margin-bottom:12px}.member-stack{background:white;padding:16px;border-radius:28px;margin:20px 0}.member-row{display:flex;align-items:center;gap:10px;min-height:64px;line-height:1.5}.member-row>span:nth-child(2){min-width:0;flex:1}.member-row strong{display:block;font-size:13px;font-weight:600}.member-row small{display:block;font-size:10px;color:#62596e}.member-row.compact{border-radius:22px;background:#f7f1ff;min-height:42px;padding:7px 10px;margin-top:7px}.member-row.compact strong{font-size:11px;flex:1}.member-row.compact small{font-size:10px}.stream-members-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:650}.app-frame #streams-container h3{white-space:normal;overflow:visible;font-size:16px;line-height:1.4}.app-frame #streams-container>div>div:first-child{flex-wrap:wrap;gap:10px}.app-frame #streams-container p{white-space:normal;font-size:11px}.detail-person{display:flex;align-items:center;gap:10px;margin-top:12px}.detail-person>div{min-width:0;flex:1}.detail-person small{display:block;font-size:10px;color:#70677e}.detail-person strong{font-size:13px;line-height:1.6}.history-box{padding-top:15px;border-top:1px solid #eee8f6;margin-top:12px}.history-box h2{font-size:14px;font-weight:650;margin-bottom:8px}.history-box p{font-size:11px;color:#62596e;line-height:1.7}.deadline-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.deadline-title strong{font-size:13px}.task-created{font-size:11px;color:#62596e;line-height:1.6;margin-top:10px}.task-actions{width:min(100%,480px);left:50%!important;right:auto!important;transform:translateX(-50%);padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important}.assignee-card{display:flex;align-items:center;gap:9px;flex-shrink:0;border-radius:35px;background:#f7f1ff;padding:8px 12px;min-height:54px;min-width:155px;color:#1c192c}.assignee-card.chosen{background:#e4dfff;box-shadow:inset 0 0 0 2px #5341cd}.assignee-card>span:last-child{font-size:12px;text-align:left}.assignee-card small{display:block;font-size:10px;color:#5341cd;margin-top:4px}.native-date{display:grid;gap:10px;font-size:11px;color:#62596e}.native-date input,.field select{background:#f7f1ff;border:1px solid #e6dffa;border-radius:25px;padding:12px;font-size:16px;min-height:48px;width:100%;color:#1c192c}#createTaskForm input,#createTaskForm textarea{font-size:16px}#createTaskForm label{line-height:1.6;gap:8px;flex-wrap:wrap}#createTaskForm>div{min-width:0}#taskDesc{min-height:100px;resize:vertical}#createTaskForm>div:nth-child(2)>label{gap:8px}#createTaskForm .text-label-caps{font-size:10px}#createTaskForm .rounded-full{max-width:100%}.report-chart{display:block;width:100%;height:auto;margin:20px 0 7px;overflow:visible}.report-chart text{font:11px -apple-system,BlinkMacSystemFont,sans-serif;fill:#655d76}.chart-note{font-size:10px;line-height:1.7;color:#71677e;margin-top:10px}.report-conclusion{font-size:13px;line-height:1.8;margin:10px 0 18px}.empty{padding:30px 12px;text-align:center;color:#62596e;line-height:1.8}.empty h1,.empty h2{font-size:18px;color:#1c192c;font-weight:650}.empty p{font-size:13px;margin:10px 0 16px}.error-message{padding:12px 15px;border-radius:16px;color:#93000a;background:#ffeded;font-size:12px;line-height:1.7;margin:10px 0}.error-message[hidden]{display:none}.loading-state{padding:50px 20px;text-align:center;font-size:14px;color:#62596e}#sheet{border:0;margin:0 auto;padding:0;bottom:0;top:auto;width:min(100%,480px);max-width:480px;max-height:88dvh;border-radius:32px 32px 0 0;background:#fdf8ff;box-shadow:0 -10px 50px #20142c26;overflow:auto;color:#1c192c}#sheet::backdrop{background:#1c192c66;backdrop-filter:blur(3px)}#sheet>div{max-height:none!important;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}#sheet .local-icon svg{width:20px;height:20px}#sheet input[type="text"],#sheet select{font-size:16px}#sheet #delegate-bottom-sheet{position:relative;transform:none;inset:auto;max-height:88dvh!important;overflow:auto}#sheet #modal-content{transform:none;max-height:none}#sheet .max-h-\[406px\]{max-height:40dvh}.simple-sheet{padding:22px}.delegate-member{display:flex;align-items:center;gap:11px;min-height:72px;padding:10px;border-radius:20px;background:white;margin-top:7px}.delegate-member>span:nth-child(2){min-width:0;flex:1;line-height:1.5;font-size:13px}.delegate-member strong{font-size:13px;display:block}.delegate-member small{display:block;font-size:10px;color:#62596e;margin-top:5px}.delegate-member input{width:20px;height:20px;accent-color:#5341cd;flex-shrink:0}.stream-person-option{display:flex;align-items:center;gap:9px;border-radius:20px;background:#f7f1ff;padding:12px;font-size:13px;width:100%}.stream-person-option input{accent-color:#5341cd;width:18px;height:18px}.form-hint{font-size:11px;line-height:1.6;color:#71677e;margin:16px 0}.field{display:grid;gap:10px;font-size:13px;margin:20px 0}.sheet-open{overflow:hidden}#feedback{position:fixed;bottom:calc(160px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);max-width:min(90%,420px);width:max-content;padding:13px 18px;background:#312e42;color:white;font-size:12px;line-height:1.6;border-radius:25px;z-index:100;box-shadow:0 5px 20px #312e4233;display:none}#feedback.show{display:block}@media(max-width:350px){.prototype-main{padding-left:15px!important;padding-right:15px!important}.app-frame>header>div{padding-inline:15px;gap:7px}.role-switch{max-width:165px;font-size:9px}.app-frame>header .logo{width:26px;height:26px}.app-frame>header [aria-label="Уведомления"]{width:34px;height:34px}.actual-hero{padding:20px!important}.hero-line{font-size:13px}.screen-title h1{font-size:23px}.font-label-caps{font-size:10px}.reference-task h2{font-size:16px!important}.app-frame #streams-container h3{font-size:14px}.app-nav a{font-size:9px}.prototype-main .text-display-lg{font-size:32px}#sheet .simple-sheet{padding:18px}.period-control button{font-size:10px}}@media(prefers-reduced-motion:reduce){.transition-all,.transition-transform,.transition-opacity{transition:none!important}}
/* Source font utilities name Inter without a fallback; keep the supplied UI sans-serif offline. */
body,[class*="font-"]{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
@media(max-width:350px){.prototype-main .-mx-margin{margin-left:-15px!important;margin-right:-15px!important;padding-left:15px!important;padding-right:15px!important}}
.team-disclosure summary,.select-disclosure summary{cursor:pointer;min-height:46px;display:list-item;padding:12px 15px;border-radius:20px;background:#f1ebff;font-size:13px;font-weight:600;color:#5341cd}.team-disclosure[open] summary{margin-bottom:8px}.stream-picker,.assignee-fields{display:grid;gap:10px;min-width:0}.stream-options{display:grid;gap:4px;padding:8px 0}.stream-options label{display:flex;align-items:center;gap:10px;padding:12px;background:#f7f1ff;border-radius:16px;font-size:13px}.stream-options input{width:20px;height:20px;accent-color:#5341cd;flex-shrink:0}.assignee-fields .field{margin:4px 0 12px}.assignee-fields select{min-width:0;width:100%}#new-person-name{border-radius:20px;background:#f7f1ff;padding:12px;font-size:16px;width:100%;min-height:48px}#sheet #add-person{margin-bottom:16px;width:100%}
.hero-inner>button{background:#ffe6ac70;border-radius:15px;padding:12px;display:grid;gap:5px;text-align:left;min-height:110px;transition:background-color .15s}.hero-inner>button:hover{background:#fff0c799}.hero-inner small{display:flex;align-items:center;justify-content:space-between;gap:5px}.hero-inner small svg{width:13px;height:13px}.hero-inner>.hero-overdue{background:#ffe1cc99}.hero-inner>.hero-overdue strong,.hero-inner>.hero-overdue>span{color:#862c25}.hero-ontime{font-size:10px;line-height:1.6;color:#634017;margin:13px 0 0}
.period-filter-note{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eee8ff;border-radius:18px;padding:10px 14px;font-size:11px;color:#5341cd;line-height:1.5}.period-filter-note button{min-height:40px;padding:5px;font-weight:650}.screen-title>span{white-space:normal;text-align:right;line-height:1.5}
.roster-member{display:flex;align-items:center;flex-wrap:wrap;gap:9px;background:white;border-radius:20px;padding:12px;margin-top:8px;font-size:12px;line-height:1.5}.roster-member>span:nth-child(2){flex:1;min-width:90px;overflow-wrap:anywhere}.roster-member small{font-size:10px;color:#71677e}.remove-member{min-height:40px;border-radius:20px;padding:8px 11px;background:#ffeded;color:#93000a;font-size:10px;font-weight:600}.roster-member .initial-avatar{width:36px;height:36px}
