@font-face{font-family:Ubuntu;src:url('/assets/ubuntu-sans.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--pine:#1c4338;--deep:#16392f;--red:#b44b44;--red-dark:#983a34;--gold:#e1b977;--ink:#293e35;--muted:#7c8880;--line:#e4e9e2;--paper:#f7f8f4;--white:#fff;--green:#edf2e9;--radius:20px;font-family:Ubuntu,Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--pine);text-underline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #d2a957;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #91aa99;outline-offset:1px}h1,h2,h3,p{margin-top:0}h1{font-size:2.6rem;line-height:1.15;letter-spacing:-1.3px;font-weight:650}h2{font-size:1.5rem;letter-spacing:-.45px;font-weight:620}h3{font-size:1.1rem;font-weight:600}p{line-height:1.6}small,.small{font-size:.875rem}svg.icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button{border:0;background:none;color:inherit}button.btn,.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border-radius:10px;font-weight:550;text-decoration:none;transition:background .15s,transform .15s;line-height:1.3}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--red);color:white}.btn.primary:hover{background:var(--red-dark)}.btn.green{background:var(--pine);color:white}.btn.secondary{background:white;border:1px solid var(--line)}.btn.soft{background:var(--green)}.btn.danger{color:#a43f38;background:#fcf0ed}.btn.small{font-size:.875rem;min-height:40px;padding:9px 13px}.btn.full{width:100%}.btn.ghost{border:1px solid #ffffff45;color:white}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.icon-button:hover{background:var(--green)}.muted{color:var(--muted)}.eyebrow{font-size:.76rem;letter-spacing:2px;font-weight:650;text-transform:uppercase}.brand{display:flex;gap:11px;align-items:center;color:var(--pine);text-decoration:none}.brand img{width:41px;height:41px}.brand strong{display:block;font-size:1.13rem;letter-spacing:-.4px;font-weight:700}.brand span{font-size:.72rem;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}.badge{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:550;padding:6px 10px;border-radius:6px;white-space:nowrap;background:var(--green);color:#50725a}.badge.draft{background:#fff2db;color:#9a722f}.badge.live{background:#e7f0e7;color:#42714c}.badge.done{background:#eceeeb;color:#727d74}.badge.creator{color:#a56d3b;background:#f8f0e4}.pill{border:1px solid var(--line);background:white;border-radius:100px;padding:7px 12px;font-size:.8rem}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#e7ecdf;color:#647857;font-size:.875rem;font-weight:600}.avatar.c1{background:#f3e7dd;color:#a7734d}.avatar.c2{background:#e2e9ec;color:#5c7b8a}.avatar.c3{background:#eee0e2;color:#a26c77}.avatar.c4{background:#e6e0ef;color:#85749a}.avatar.c5{background:#e4e9d9;color:#75814c}.avatar.big{width:72px;height:72px;font-size:1.5rem}.boot{height:100dvh;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center}.boot p{color:var(--muted)}
/* Welcome */
.welcome{min-height:100dvh;background:#f6f7f2}.welcome-head{max-width:1260px;margin:auto;padding:26px 42px;display:flex;justify-content:space-between;align-items:center}.welcome-head .tagline{font-size:.875rem;color:var(--muted)}.welcome-main{max-width:1260px;padding:32px 42px 50px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:68px;align-items:center}.welcome-story{border-radius:28px;background:var(--pine);color:#fff;position:relative;overflow:hidden;min-height:650px;padding:44px 43px}.welcome-story .eyebrow{color:#decba2}.welcome-story h1{font-size:3.5rem;font-weight:550;letter-spacing:-1.5px;margin:22px 0 19px;max-width:460px}.welcome-story h1 em{font-style:normal;color:#e5c58d}.welcome-story>p{color:#c6d5ca;max-width:370px;font-size:1.05rem}.welcome-story img{width:400px;max-width:90%;display:block;position:absolute;bottom:-8px;right:6px}.story-stamp{position:absolute;bottom:35px;left:34px;z-index:1;max-width:150px;font-size:.85rem;color:#d9e1d6;line-height:1.5}.story-stamp svg{display:block;color:var(--gold);margin-bottom:8px}.auth-panel{max-width:440px;width:100%;justify-self:center}.auth-panel h2{font-size:2rem;margin:13px 0}.auth-panel .intro{color:var(--muted);margin-bottom:24px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:26px;gap:26px}.auth-tabs button{padding:13px 2px;border-bottom:2px solid transparent;font-weight:550;color:var(--muted);margin-bottom:-1px}.auth-tabs button.active{color:var(--pine);border-color:var(--pine)}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field>span,.field>label{font-size:.875rem;font-weight:550}.field input,.field textarea,.field select,input.control,select.control{width:100%;border:1px solid #dce2d9;background:white;border-radius:9px;min-height:47px;padding:12px 14px;color:var(--ink)}.field textarea{resize:vertical;line-height:1.55;min-height:130px}.field small{color:var(--muted);font-size:.79rem;line-height:1.45}.password-field{display:flex;position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:3px;top:3px}.form-error{color:#9f3e37;background:#fff0eb;border:1px solid #edcec4;border-radius:9px;padding:12px 14px;font-size:.875rem;line-height:1.5;margin-bottom:18px}.form-error:empty{display:none}.auth-foot{text-align:center;font-size:.8rem;color:var(--muted);margin:18px 0}.demo-in{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.demo-in p{font-size:.82rem;color:var(--muted);margin-bottom:12px}.welcome-footer{text-align:center;color:var(--muted);font-size:.8rem;padding:8px 20px 28px}.invite-preview{display:flex;gap:14px;padding:16px;background:#eaf0e5;border-radius:12px;margin-bottom:22px}.invite-preview .icon{color:#71835b;margin-top:3px}.invite-preview strong{display:block;margin-bottom:5px}.invite-preview p{font-size:.84rem;color:#72806a;margin:0;line-height:1.5}
/* App layout */
.layout{min-height:100dvh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{position:fixed;top:0;bottom:0;left:0;width:244px;background:#fff;border-right:1px solid var(--line);padding:34px 24px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 0 51px 3px}.side-label{font-size:.69rem;color:#9aa398;letter-spacing:1.65px;margin:0 14px 13px;font-weight:550}.side-nav{display:flex;flex-direction:column;gap:6px}.nav-button{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:10px;width:100%;text-align:left;font-size:.92rem;color:#7a877d;min-height:48px}.nav-button.active{background:#edf2e9;color:var(--pine);font-weight:600}.nav-button:hover{background:#f1f4ed;color:var(--pine)}.nav-button .count{margin-left:auto;font-size:.7rem;background:white;border:1px solid #dbe3d6;min-width:23px;height:23px;display:flex;justify-content:center;align-items:center;border-radius:7px}.sidebar-bottom{margin-top:auto}.little-magic{margin:34px 0 22px;border-radius:13px;border:1px solid #e6eadf;background:#f9faf6;padding:19px 16px;position:relative;overflow:hidden}.little-magic .icon{color:#c6a45c;width:24px;height:24px;margin-bottom:10px}.little-magic h3{font-size:.875rem;margin-bottom:6px}.little-magic p{font-size:.78rem;line-height:1.5;color:var(--muted);margin:0}.sidebar-user{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;gap:10px;width:100%;text-align:left}.sidebar-user strong{font-size:.85rem;display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{color:var(--muted);font-size:.72rem}.sidebar-user>.icon{margin-left:auto;color:var(--muted);width:17px}.app-main{grid-column:2;min-width:0}.topbar{height:89px;border-bottom:1px solid var(--line);padding:0 49px;display:flex;justify-content:space-between;align-items:center;background:var(--paper)}.breadcrumb{font-size:.85rem;color:#849084;display:flex;align-items:center;gap:10px}.topbar-actions{display:flex;align-items:center;gap:19px}.season{display:flex;align-items:center;gap:7px;font-size:.8rem;color:#84917c}.season .icon{color:#9aab8b;width:18px}.topbar-actions .avatar{height:35px;width:35px}.content{max-width:1390px;margin:auto;padding:39px 49px 45px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading h1{font-size:2.05rem;margin-bottom:9px;letter-spacing:-1px}.page-heading p{color:var(--muted);font-size:.9rem;margin:0}.hero{border-radius:22px;background:var(--pine);color:#fff;position:relative;overflow:hidden;padding:36px 38px;min-height:258px;margin-bottom:31px;display:flex;align-items:center}.hero .hero-copy{position:relative;z-index:1;width:61%}.hero .eyebrow{color:#d6bf89;font-size:.67rem;letter-spacing:1.9px;margin-bottom:14px}.hero h2{font-size:2.15rem;line-height:1.2;font-weight:500;letter-spacing:-.75px;margin-bottom:13px}.hero p{color:#bdcfc1;font-size:.88rem;max-width:360px;margin-bottom:23px;line-height:1.6}.hero .btn{font-size:.83rem;min-height:40px;background:#f1e9d6;color:#304a37;border:0;padding:10px 16px}.hero img{position:absolute;width:360px;height:290px;object-fit:contain;right:0;bottom:-11px}.hero:after{content:'✦';font-size:28px;position:absolute;right:43%;top:34px;color:#aeaa76}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-heading h2{font-size:1.24rem;margin:0}.section-heading .muted{font-size:.81rem}.filters{display:flex;gap:5px;margin-bottom:21px;border-bottom:1px solid var(--line)}.filter{padding:10px 15px 13px;font-size:.84rem;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}.filter.active{border-color:var(--pine);color:var(--pine);font-weight:600}.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.room-card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;transition:box-shadow .2s,border-color .2s;position:relative}.room-card:hover{border-color:#bdcbbc;box-shadow:0 8px 22px #2d4c3010}.room-art{height:112px;position:relative;overflow:hidden;padding:21px 25px;display:flex;align-items:center;justify-content:space-between}.art-0{background:#e9eee3}.art-1{background:#f3e8de}.art-2{background:#e7eced}.room-art>.icon{width:56px;height:56px;stroke-width:1;color:#6b8060;transform:rotate(-9deg)}.art-1>.icon{color:#ac856d}.art-2>.icon{color:#6c8790}.room-art:before,.room-art:after{content:'✦';position:absolute;color:#a9b897;font-size:16px;right:87px;top:24px}.room-art:after{font-size:11px;right:28px;top:68px}.room-art .badge{align-self:flex-start;background:#ffffffb5;color:#64765c;font-size:.7rem}.card-body{padding:22px 24px 20px}.card-body h3{font-size:1.15rem;margin:0 0 8px}.card-title-button{text-align:left;padding:0}.card-title-button:after{content:'';position:absolute;inset:0}.card-description{color:var(--muted);font-size:.81rem;margin-bottom:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-facts{display:flex;flex-wrap:wrap;gap:16px;font-size:.79rem;padding-bottom:19px;border-bottom:1px solid #edf0e9;color:#6e7f6e}.card-facts span{display:flex;align-items:center;gap:7px}.card-facts .icon{width:16px;height:16px;color:#95a18d}.card-foot{display:flex;align-items:center;justify-content:space-between;padding-top:17px;font-size:.76rem;color:var(--muted)}.avatar-stack{display:flex;padding-left:0}.avatar-stack .avatar{height:27px;width:27px;font-size:.6rem;border:2px solid white;margin-left:-7px}.avatar-stack .avatar:first-child{margin:0}.member-summary{display:flex;align-items:center;gap:9px}.add-room{border:1.5px dashed #d5ded0;background:transparent;border-radius:17px;min-height:290px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;color:#829078;padding:30px}.add-room .plus-circle{width:47px;height:47px;border:1px solid #dbe3d6;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1f4ec;margin-bottom:4px}.add-room strong{font-size:.95rem;font-weight:500;color:#65795e}.add-room small{font-size:.78rem}.add-room:hover{background:#eef2e9}.how{margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}.how-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.how-head h2{font-size:1rem;margin:0}.how-head span{font-size:.75rem;color:#9aa491}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.step{display:flex;gap:12px}.step-icon{height:37px;width:37px;display:flex;justify-content:center;align-items:center;border-radius:11px;background:#edf0e6;color:#8c9b75;flex-shrink:0}.step h3{font-size:.81rem;margin:2px 0 5px}.step p{font-size:.75rem;color:var(--muted);line-height:1.5;margin:0}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:39px;font-size:.7rem;color:#a4ada0}.app-footer .icon{height:13px;width:13px;color:#b18379}.footer-love{display:flex;align-items:center;gap:5px}.mobile-nav{display:none}
/* Room */
.back{display:flex;align-items:center;gap:6px;padding:0;color:var(--muted);font-size:.82rem;margin-bottom:21px}.back .icon{width:16px;height:16px}.room-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:23px}.room-heading h1{font-size:2.15rem;margin:10px 0}.room-heading p{color:var(--muted);font-size:.9rem;margin:0}.room-title-tags{display:flex;gap:8px;flex-wrap:wrap}.room-buttons{display:flex;gap:9px;padding-top:9px}.room-meta{display:flex;gap:29px;align-items:center;padding:20px 25px;background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:25px;flex-wrap:wrap}.room-meta>div{display:flex;gap:10px;align-items:center}.room-meta .icon{color:#819677}.room-meta small{display:block;font-size:.72rem;color:var(--muted);margin-bottom:3px}.room-meta strong{font-weight:550;font-size:.9rem}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:27px;overflow-x:auto;scrollbar-width:none}.tab{white-space:nowrap;font-size:.87rem;padding:11px 1px 15px;border-bottom:2px solid transparent;color:var(--muted);margin-bottom:-1px;display:flex;align-items:center;gap:8px}.tab.active{color:var(--pine);border-color:var(--pine);font-weight:600}.tab .icon{width:17px;height:17px}.two-cols{display:grid;grid-template-columns:1.2fr 1fr;gap:23px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:25px;margin-bottom:22px}.panel h2{font-size:1.12rem;margin-bottom:9px}.panel-subtitle{font-size:.84rem;line-height:1.55;color:var(--muted);margin-bottom:21px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.panel-head h2{margin:0}.panel-head .icon-button{width:34px;height:34px}.text-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.93rem;line-height:1.8}.text-content a{color:#9d5149}.text-content:empty:after{content:'Пока ничего не добавлено';color:var(--muted);font-style:italic}.member-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #edf0e9;min-width:0}.member-row:last-child{border:0;padding-bottom:0}.member-row:first-child{padding-top:0}.member-row .name{font-size:.87rem;display:block;overflow-wrap:anywhere}.member-row .name small{font-size:.69rem;color:#a48c63;margin-left:4px}.member-row .meta{font-size:.73rem;color:var(--muted);margin-top:4px}.member-row .meta.ready{color:#7a9567}.member-row>div:nth-child(2){flex:1;min-width:0}.member-row>.icon{color:#8fa17f;width:17px;height:17px}.member-row .icon-button{color:#a1a99b;width:34px;height:34px}.info-box{display:flex;align-items:flex-start;gap:12px;background:#edf2e8;padding:18px 20px;border-radius:12px;font-size:.85rem;line-height:1.6;margin-bottom:22px;color:#607457}.info-box>.icon{margin-top:2px;color:#8b9e76}.info-box p{margin:0}.info-box strong{display:block;color:#4d6646;margin-bottom:3px}.info-box.amber{background:#fbf2e2;color:#968157}.info-box.amber strong{color:#8e7140}.recipient-card{background:var(--pine);color:white;border-radius:18px;padding:27px;display:flex;align-items:center;gap:19px;margin-bottom:23px}.recipient-card .avatar{background:#fff1d4;color:#84734b}.recipient-card .eyebrow{color:#d0b982;font-size:.65rem;margin-bottom:8px}.recipient-card h2{margin:0 0 5px;font-size:1.6rem}.recipient-card p{color:#bccfbe;font-size:.8rem;margin:0}.secret-card{background:#f0f3e9;border-radius:15px;text-align:center;padding:30px 24px;margin-bottom:23px}.secret-card>svg{width:39px;height:39px;color:#8b9a74;margin-bottom:13px}.secret-card h2{font-size:1.2rem;margin-bottom:10px}.secret-card p{font-size:.86rem;color:var(--muted);max-width:420px;margin:0 auto 18px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.form-actions.start{justify-content:flex-start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .field{margin-bottom:4px}.checkline{display:flex;align-items:center;gap:10px;font-size:.875rem;padding:10px 0;line-height:1.5}.checkline input{width:19px;height:19px;accent-color:var(--pine);flex-shrink:0}.upload-box{display:block;text-align:center;border:1px dashed #cbd6c1;border-radius:12px;padding:23px 16px;background:#fafbf7;cursor:pointer;margin-top:16px}.upload-box .icon{color:#8b9c7a;margin-bottom:7px}.upload-box strong{display:block;font-size:.85rem;font-weight:500;margin-bottom:6px}.upload-box small{display:block;color:var(--muted);font-size:.76rem}.upload-box input{display:block;max-width:100%;margin:15px auto 0;font-size:.78rem}.files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.file{border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;position:relative;background:white}.file>a{display:flex;flex-direction:column;align-items:center;text-decoration:none;min-width:0}.file img{width:100%;height:140px;object-fit:cover;background:#f1f3ed}.file .pdf-icon{height:100px;display:flex;align-items:center;justify-content:center;background:#f4f0e9;color:#ad8e71;width:100%}.file .pdf-icon svg{width:34px;height:34px}.file-name{font-size:.77rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%;padding:12px}.file .remove-file{position:absolute;right:5px;top:5px;background:#ffffffeb;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.remove-file .icon{width:15px;height:15px}.draw-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.draw-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.draw-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:16px 0}.draw-row label{flex:1;min-width:0}.draw-row label>span{display:block;font-size:.77rem;color:var(--muted);margin-bottom:5px}.draw-row label strong{font-size:.9rem;font-weight:500;display:block;overflow-wrap:anywhere}.draw-row select{max-width:56%;font-size:.87rem;border-radius:9px;padding:12px;border:1px solid var(--line);background:#f7f9f4;min-height:46px;color:var(--pine)}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2374896b' stroke-width='1.5'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;padding-right:31px!important}.draw-confirm{display:flex;gap:20px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:23px;margin-top:23px}.draw-confirm p{font-size:.8rem;color:var(--muted);margin:0;max-width:470px}.empty{padding:45px 25px;text-align:center;background:white;border:1px solid var(--line);border-radius:17px}.empty>.icon{width:44px;height:44px;color:#94a383;margin-bottom:15px}.empty h2{font-size:1.3rem;margin-bottom:10px}.empty p{color:var(--muted);font-size:.875rem;max-width:470px;margin:0 auto 23px}.exclusion-row{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:.85rem}.exclusion-row span{flex:1}.exclusion-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:20px}.exclusion-form select{flex:1;min-width:135px}.user-search{display:flex;gap:10px;margin-bottom:20px}.user-search input{flex:1}.user-table{width:100%;border-collapse:collapse;font-size:.85rem}.user-table th{text-align:left;font-weight:500;color:var(--muted);font-size:.75rem;padding:13px 12px;background:#f5f7f1}.user-table td{padding:18px 12px;border-bottom:1px solid var(--line)}.user-table td strong{display:block;margin-bottom:5px;font-weight:550}.user-actions{display:flex;gap:5px;flex-wrap:wrap}.user-actions .btn{font-size:.74rem;min-height:35px;padding:8px 10px}.table-wrap{overflow:auto}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:22px;font-size:.85rem}.settings-card{max-width:680px}.profile-heading{display:flex;align-items:center;gap:18px;margin-bottom:25px}.profile-heading h2{margin-bottom:5px}.profile-heading p{margin:0;font-size:.85rem;color:var(--muted)}.help-list{max-width:850px}.help-list details{background:white;border:1px solid var(--line);border-radius:13px;padding:20px 23px;margin-bottom:13px}.help-list summary{cursor:pointer;font-weight:550;font-size:.95rem;line-height:1.5}.help-list p{color:var(--muted);font-size:.9rem;margin:16px 0 0}.help-list details[open]{border-color:#c6d2bf}
/* Dialog and feedback */
dialog{border:1px solid #e0e6db;border-radius:21px;padding:0;width:560px;max-width:calc(100% - 30px);max-height:calc(100dvh - 40px);box-shadow:0 20px 100px #102c2840;color:var(--ink)}dialog::backdrop{background:#122d2860;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:25px 28px 10px}.modal-head h2{font-size:1.5rem;margin:5px 0 7px}.modal-head p{font-size:.85rem;color:var(--muted);margin:0;line-height:1.5}.modal-body{padding:18px 28px 28px}.modal-body .form-actions{margin-top:22px}.modal-body>p{font-size:.9rem;color:var(--muted)}.copy-field{display:flex;gap:9px;margin:20px 0}.copy-field input{flex:1;min-width:0;background:#f6f8f1}.temporary-password{display:block;padding:18px;background:#f2f5ed;border:1px solid var(--line);border-radius:10px;font-family:monospace;font-size:1.3rem;text-align:center;overflow-wrap:anywhere;user-select:all}.modal-icon{width:53px;height:53px;background:#edf2e7;color:#879b70;border-radius:17px;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.modal-icon .icon{width:28px;height:28px}#toasts{position:fixed;bottom:27px;right:27px;z-index:100;max-width:400px}.toast{padding:15px 20px;border-radius:11px;background:#244c3d;color:#fff;box-shadow:0 7px 28px #142f2b20;font-size:.875rem;margin-top:10px;line-height:1.5;animation:toast-in .2s}.toast.error{background:#a3433d}.toast.warn{background:#9c7e42}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.hero img{right:35px;width:400px}.hero .hero-copy{width:64%}.content{padding-left:65px;padding-right:65px}}
@media(max-width:1200px){.layout{grid-template-columns:215px minmax(0,1fr)}.sidebar{width:215px;padding-left:18px;padding-right:18px}.topbar{padding:0 30px}.content{padding:32px 30px}.hero{padding:30px;min-height:256px}.hero h2{font-size:1.9rem}.hero img{width:295px;right:-12px}.hero .hero-copy{width:64%}.room-card .card-body{padding:20px}.card-facts{gap:12px}.two-cols{grid-template-columns:1.1fr 1fr;gap:18px}.panel{padding:22px}.welcome-main{gap:35px;padding:25px 35px}.welcome-story{padding:35px;min-height:660px}.welcome-story h1{font-size:3rem}.welcome-story img{right:-20px;bottom:15px}.story-stamp{bottom:20px;max-width:120px}.draw-grid{grid-template-columns:1fr}}
@media(max-width:980px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px;padding-left:12px;padding-right:12px}.sidebar .brand{gap:8px}.sidebar .brand img{width:33px;height:33px}.brand strong{font-size:.98rem}.brand span{font-size:.61rem}.nav-button{font-size:.83rem;padding:12px;gap:9px}.content{padding:29px 24px}.topbar{padding:0 24px;height:75px}.season{display:none}.page-heading h1{font-size:1.8rem}.page-heading .btn{font-size:.8rem;padding:12px 14px}.hero h2{font-size:1.7rem}.hero .hero-copy{width:68%}.hero img{width:245px;right:-20px;bottom:-35px}.hero p{max-width:280px;font-size:.83rem}.hero:after{right:33%}.room-grid{gap:16px}.card-facts{gap:12px;font-size:.73rem}.card-foot{font-size:.71rem;gap:8px}.card-description{font-size:.75rem}.card-body h3{font-size:1.02rem}.room-art{height:94px}.room-art>.icon{height:49px;width:49px}.room-card .card-body{padding:18px}.steps{gap:16px}.step{gap:8px}.step-icon{width:30px;height:30px}.step h3{font-size:.75rem}.step p{font-size:.7rem}.two-cols{grid-template-columns:1fr}.room-heading h1{font-size:1.8rem}.room-buttons{flex-direction:column}.room-meta{gap:19px}.welcome-main{gap:32px;padding:22px 28px}.welcome-story{padding:32px;min-height:620px}.welcome-story h1{font-size:2.6rem}.welcome-story img{max-width:100%;width:350px;bottom:25px;right:-30px}.story-stamp{bottom:25px;font-size:.75rem;max-width:95px}.welcome-story>p{font-size:.9rem}.welcome-head{padding:24px 28px}.welcome-head .tagline{font-size:.75rem}.auth-panel h2{font-size:1.7rem}}
@media(max-width:720px){h1{font-size:2rem}.layout{display:block}.sidebar{display:none}.app-main{padding-bottom:83px}.topbar{height:69px;padding:0 20px;background:white}.breadcrumb{font-size:.79rem}.topbar .mobile-brand{display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:650;color:var(--pine)}.mobile-brand img{width:32px;height:32px}.topbar .breadcrumb{display:none}.content{padding:27px 20px 17px}.page-heading{gap:12px;margin-bottom:25px;align-items:flex-start}.page-heading h1{font-size:1.65rem;margin-bottom:8px}.page-heading p{font-size:.8rem;max-width:230px;line-height:1.5}.page-heading .btn{font-size:.77rem;min-height:41px;padding:10px 12px;gap:5px;white-space:nowrap}.page-heading .btn .icon{width:16px;height:16px}.hero{padding:27px 25px;min-height:242px;border-radius:17px;margin-bottom:28px;align-items:flex-start}.hero .hero-copy{width:69%}.hero .eyebrow{font-size:.57rem;letter-spacing:1.4px;margin-bottom:13px}.hero h2{font-size:1.7rem;line-height:1.17;max-width:230px;margin-bottom:12px}.hero p{font-size:.77rem;margin-bottom:18px;max-width:225px}.hero .btn{font-size:.75rem;padding:10px 12px}.hero img{width:220px;right:-40px;bottom:-18px;height:220px;opacity:.9}.hero:after{font-size:20px;right:23%;top:28px}.section-heading h2{font-size:1.1rem}.section-heading .muted{font-size:.73rem}.filters{margin-bottom:18px}.filter{font-size:.77rem;padding:10px 14px 13px}.room-grid{grid-template-columns:1fr}.room-art{height:100px;padding:22px}.room-art>.icon{width:54px;height:54px;margin-right:7px}.room-card .card-body{padding:22px}.card-body h3{font-size:1.12rem}.card-description{font-size:.82rem;margin-bottom:20px}.card-facts{font-size:.79rem;gap:20px}.card-foot{font-size:.75rem}.add-room{min-height:168px;gap:8px}.add-room .plus-circle{height:36px;width:36px}.how{margin-top:29px;padding-top:23px}.how-head{margin-bottom:20px}.how-head h2{font-size:.95rem}.how-head span{font-size:.66rem}.steps{grid-template-columns:1fr;gap:22px}.step{gap:12px}.step-icon{width:37px;height:37px}.step h3{font-size:.85rem}.step p{font-size:.78rem}.app-footer{margin-top:30px;font-size:.65rem;align-items:flex-start}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;gap:3px}.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:62px;min-height:48px;font-size:.62rem;color:#88927f;border-radius:10px;flex:1}.mobile-nav button.active{color:var(--pine);background:#eef2e8}.mobile-nav .icon{width:21px;height:21px}.room-heading{gap:12px}.room-heading h1{font-size:1.8rem;line-height:1.2}.room-heading p{font-size:.82rem}.room-buttons{padding-top:3px}.room-buttons .btn{min-height:39px;font-size:.75rem;padding:9px 11px}.room-buttons .btn .label{display:none}.room-title-tags .badge{font-size:.65rem;padding:5px 8px}.room-meta{padding:18px;gap:20px 24px;border-radius:12px}.room-meta>div{flex-basis:40%;gap:8px}.room-meta strong{font-size:.83rem}.room-meta small{font-size:.66rem}.room-meta .icon{width:18px}.tabs{gap:21px;margin-bottom:23px}.tab{font-size:.8rem;gap:6px}.panel{padding:20px;border-radius:14px}.panel h2{font-size:1.07rem}.panel-subtitle{font-size:.8rem}.text-content{font-size:.87rem}.two-cols{gap:0}.form-grid{gap:13px}.field>span{font-size:.81rem}.field input,.field textarea,.field select{font-size:1rem}.recipient-card{padding:23px;gap:14px}.recipient-card .avatar.big{height:58px;width:58px;font-size:1.25rem}.recipient-card h2{font-size:1.4rem}.recipient-card p{font-size:.76rem}.recipient-card .eyebrow{font-size:.58rem}.draw-row{gap:10px}.draw-row label strong{font-size:.85rem}.draw-row select{font-size:.83rem;max-width:58%}.draw-confirm{flex-direction:column;align-items:stretch;gap:17px}.draw-confirm p{font-size:.77rem}.draw-toolbar{gap:8px}.draw-toolbar .btn{font-size:.8rem;padding:10px 13px}.info-box{padding:16px;font-size:.8rem}.files{gap:10px}.file img{height:120px}.settings-card .profile-heading{gap:13px}.user-table td{padding:15px 9px}.user-table .badge{font-size:.65rem}.user-search .btn{padding:12px 14px}.pagination{gap:15px}.welcome-head{padding:22px}.welcome-head .tagline{display:none}.welcome-main{display:flex;flex-direction:column;gap:30px;padding:0 22px 25px;align-items:stretch}.welcome-story{min-height:260px;padding:27px 25px;border-radius:20px}.welcome-story .eyebrow{font-size:.6rem;letter-spacing:1.7px}.welcome-story h1{font-size:2.2rem;max-width:245px;line-height:1.13;margin:16px 0 13px}.welcome-story>p{font-size:.82rem;max-width:210px;margin:0}.welcome-story img{width:235px;max-width:65%;bottom:-30px;right:-29px}.story-stamp{display:none}.auth-panel{max-width:none}.auth-panel h2{font-size:1.65rem;margin-top:0}.auth-panel>.eyebrow{display:none}.auth-panel .intro{font-size:.85rem;margin-bottom:14px}.auth-tabs{margin-bottom:23px}.auth-tabs button{font-size:.9rem}.welcome-footer{font-size:.7rem;padding-top:0}.invite-preview{margin-bottom:20px}.auth-foot{font-size:.74rem}.demo-in{margin-top:20px;padding-top:18px}.modal-head{padding:23px 21px 8px}.modal-head h2{font-size:1.3rem}.modal-head p{font-size:.8rem}.modal-body{padding:17px 21px 23px}.modal-body .btn{font-size:.83rem}.modal-body .form-actions{gap:8px}.modal-body .form-actions .btn{flex:1}.copy-field{flex-direction:column}.exclusion-form select{min-width:115px;font-size:.8rem}.exclusion-form .btn{width:100%}#toasts{bottom:92px;right:15px;left:15px;max-width:none}.toast{font-size:.82rem}.help-list details{padding:19px}.help-list summary{font-size:.89rem}.help-list p{font-size:.83rem}.user-table{min-width:620px}}
@media(min-width:721px){.mobile-brand{display:none}}
@media(max-width:360px){.content{padding-left:15px;padding-right:15px}.page-heading h1{font-size:1.5rem}.page-heading .btn{font-size:.7rem}.hero{padding:24px 20px}.hero .hero-copy{width:74%}.hero h2{font-size:1.55rem}.hero img{right:-55px;opacity:.65}.card-facts{gap:13px}.room-meta{gap:18px}.welcome-story h1{font-size:2rem}.welcome-story img{opacity:.6}.form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.hidden{display:none!important}.notification-button{position:relative;color:#809077}.notification-count{position:absolute;top:0;right:0;background:var(--red);border:2px solid var(--paper);color:white;border-radius:20px;font-size:.62rem;min-width:19px;height:19px;display:flex;align-items:center;justify-content:center;padding:2px}.notification-item{display:flex;width:100%;gap:13px;align-items:flex-start;text-align:left;padding:19px 0;border-bottom:1px solid var(--line)}.notification-item:last-child{border:0}.notification-item>span:nth-child(2){flex:1}.notification-item strong{display:block;font-size:.9rem;margin-bottom:7px}.notification-item>span>span{display:block;font-size:.83rem;line-height:1.55;color:var(--muted)}.notification-item>.icon{width:16px;color:#a0ac96;margin-top:11px}.phase-box{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;margin-bottom:22px}.phase-track{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.phase-step{display:flex;align-items:center;gap:9px;font-size:.79rem;color:#a0aa97;position:relative}.phase-step:not(:last-child):after{content:'';position:absolute;right:0;width:15px;height:1px;background:#e1e7d9}.phase-icon{width:33px;height:33px;background:#f3f5ee;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.phase-icon .icon{width:17px;height:17px}.phase-step.current{color:var(--pine);font-weight:600}.phase-step.current .phase-icon{background:var(--pine);color:#fff}.phase-step.done{color:#859675}.phase-step.done .phase-icon{background:#edf2e6;color:#809869}.phase-progress{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.phase-progress>div{display:flex;justify-content:space-between;gap:15px;font-size:.8rem}.phase-progress>div span{font-size:.76rem;color:var(--muted)}.phase-progress progress{display:block;appearance:none;width:100%;height:5px;margin:13px 0;background:#e8ede1;border:0;border-radius:10px;overflow:hidden}.phase-progress progress::-webkit-progress-bar{background:#e8ede1}.phase-progress progress::-webkit-progress-value{background:#819a68}.phase-progress progress::-moz-progress-bar{background:#819a68}.phase-progress p{font-size:.76rem;color:var(--muted);margin:0}.text-button{padding:9px 0 0;font-size:.83rem;font-weight:600;text-decoration:underline;text-underline-offset:4px}.phase-step:last-child{justify-content:flex-end}.phase-step:nth-child(2),.phase-step:nth-child(3){justify-content:center}
@media(max-width:980px){.phase-track{gap:8px}.phase-step{font-size:.69rem;gap:6px}.phase-icon{height:28px;width:28px}.phase-step:not(:last-child):after{display:none}}
@media(max-width:720px){.topbar-actions{gap:13px}.phase-box{padding:19px 15px}.phase-step{flex-direction:column;gap:9px;font-size:.63rem;justify-content:center!important;text-align:center}.phase-icon{height:32px;width:32px}.phase-track{gap:3px}.phase-progress>div{flex-direction:column;gap:6px}.phase-progress p{font-size:.72rem}.notification-item strong{font-size:.85rem}.notification-item>span>span{font-size:.79rem}}
.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-picker{border:0;padding:0;margin:27px 0}.avatar-picker legend{font-size:.875rem;font-weight:550;margin-bottom:14px}.avatar-picker>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.avatar-option{cursor:pointer;min-width:0;position:relative}.avatar-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.avatar-option>span{display:flex;align-items:center;flex-direction:column;gap:8px;border:1px solid var(--line);padding:12px 7px;border-radius:13px;background:#fafbf7}.avatar-option img{height:58px;width:58px}.avatar-option small{font-size:.73rem;color:var(--muted)}.avatar-option input:checked+span{border:2px solid #728d62;padding:11px 6px;background:#eff4e7}.avatar-option input:focus-visible+span{outline:3px solid #b5be8a;outline-offset:3px}.avatar-option input:checked+span small{color:var(--pine);font-weight:550}@media(max-width:720px){.avatar-picker>div{gap:10px}.avatar-option img{width:49px;height:49px}.avatar-option>span{padding:10px 5px}.avatar-option input:checked+span{padding:9px 4px}.avatar-option small{font-size:.65rem}}
.brand span{white-space:nowrap;font-size:.65rem;letter-spacing:1.15px}.sidebar .brand{margin-left:0}.room-buttons{flex-direction:row;align-items:flex-start}@media(max-width:720px){.room-buttons{gap:6px}.room-buttons .btn{padding:9px;min-width:37px}.room-buttons .icon{width:18px;height:18px}.topbar-actions .avatar{width:36px;height:36px}}
.mobile-brand{text-decoration:none}.small.muted>.icon{vertical-align:middle;margin-right:5px;width:16px;height:16px}.sidebar .nav-button,.mobile-nav button{position:relative}
@media(max-width:720px){.user-table{min-width:0;display:block}.user-table thead{display:none}.user-table tbody{display:block}.user-table tr{display:grid;grid-template-columns:1fr 1fr;padding:20px 0;border-bottom:1px solid var(--line);gap:0 10px}.user-table td{display:block;border:0;padding:0 0 14px}.user-table td:first-child,.user-table td:last-child{grid-column:1/-1}.user-table td:last-child{padding-bottom:0}.user-table td:nth-child(2)::before{content:'Роль';display:block;color:var(--muted);font-size:.69rem;margin-bottom:6px}.user-table td:nth-child(3)::before{content:'Статус';display:block;color:var(--muted);font-size:.69rem;margin-bottom:6px}.user-actions{gap:8px}.user-actions .btn{min-height:40px;font-size:.72rem}.table-wrap{overflow:visible}}
.field{min-width:0}.field input,.field textarea,.field select{min-width:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.form-grid{grid-template-columns:1fr}.card-foot{flex-wrap:wrap;gap:12px}}@media(max-width:360px){.mobile-nav button{min-width:0}}
