.viu-widget{position:fixed;right:24px;bottom:22px;z-index:500;font-family:inherit}.signed-out .viu-widget,.auth-pending .viu-widget{display:none}.viu-launcher{display:flex;align-items:center;gap:10px;margin-left:auto;border:1px solid #e4dcec;background:#fff;color:#6045bf;border-radius:17px;padding:13px 17px;box-shadow:0 5px 22px #39234f16;font-size:13px;font-weight:700;cursor:pointer;transition:transform .18s,box-shadow .18s}.viu-launcher:hover{transform:translateY(-2px);box-shadow:0 8px 25px #39234f23}.viu-launcher>svg{width:23px;height:23px}.viu-launcher i{font-style:normal;background:#fce1ef;color:#b13b79;border-radius:20px;min-width:21px;padding:3px 5px;font-size:10px}.viu-launcher i[hidden]{display:none}.viu-window{width:374px;margin-bottom:12px;border:1px solid #e7dfee;border-radius:20px;background:#fcfaff;box-shadow:0 20px 65px #39234f24,0 3px 12px #39234f0c;transform-origin:bottom right;transform:translateY(24px) scale(.82);opacity:0;transition:transform .32s cubic-bezier(.16,1,.3,1),opacity .22s;overflow:hidden}.viu-window[hidden]{display:none}.viu-window.open{transform:translateY(0) scale(1);opacity:1}.viu-header{display:flex;align-items:center;justify-content:space-between;padding:18px 17px 16px;background:#fff;border-bottom:1px solid #eee7f4}.viu-heading{display:flex;gap:10px;align-items:center}.viu-heading>svg{width:26px;height:26px;color:#a183dd}.viu-heading h2{margin:0;font-size:18px;letter-spacing:-.5px}.viu-heading span{font-size:10px;color:#a493b0;display:block;margin-top:4px}.viu-close{width:28px;height:28px;border:0;border-radius:8px;background:#f4eff9;color:#92809f;font-size:22px;line-height:1;cursor:pointer}.viu-list{height:328px;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;overscroll-behavior:contain}.viu-note{display:flex;align-items:center;gap:7px;min-height:80px;height:80px;flex:none;background:#fff;border:1px solid #e8e0f0;border-radius:13px;padding:9px 7px 9px 5px;position:relative}.viu-grip{border:0;background:none;color:#b1a1bd;width:21px;padding:0;flex:none;font-size:22px;cursor:grab;touch-action:none}.viu-text{font:inherit;font-size:12px;line-height:1.55;min-width:0;flex:1;width:100%;height:54px;resize:none;padding:7px 2px;border:0;background:transparent;color:#39303f;outline:none!important}.viu-text::placeholder{color:#b3a5bd}.viu-date{position:relative;width:43px;height:47px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none;background:#ef687f;color:white;cursor:pointer}.viu-date b{font-size:20px;line-height:22px;font-weight:700}.viu-date span{font-size:9px;line-height:13px}.viu-date input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.viu-date:focus-within{outline:3px solid #c5b8ff;outline-offset:2px}.viu-remove{align-self:flex-start;width:14px;flex:none;border:0;padding:0;color:#b8aaba;background:none;font-size:16px;cursor:pointer}.viu-remove:hover{color:#df5279}.viu-empty{margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px;padding:30px;color:#ad9bba}.viu-empty>svg{width:38px;height:38px;color:#cbb9e0}.viu-empty b{font-size:14px;color:#9680a4}.viu-empty span{font-size:11px;max-width:190px;line-height:1.6}.viu-footer{border-top:1px solid #eee7f4;padding:12px 15px 13px;background:#fff}.viu-add{width:100%;border:1px dashed #d8c9e8;background:#f8f3fd;border-radius:10px;color:#8059bb;padding:10px;font-size:12px;font-weight:650;cursor:pointer}.viu-add:hover{background:#f0e7fa}.viu-footer p{font-size:10px;line-height:1.6;color:#ad9bb7;margin:10px 0 0}.viu-status{font-size:11px;line-height:1.5;color:#9a658f;margin-top:6px}.viu-status:empty{display:none}.viu-drag-ghost{position:fixed;z-index:1600;pointer-events:none;max-width:270px;max-height:75px;overflow:hidden;background:#fff6fc;color:#65457b;border:1px solid #d5b6e4;border-radius:11px;box-shadow:0 8px 26px #39234f20;padding:11px 15px;font:600 12px/1.5 Segoe UI,sans-serif;transform:rotate(-2deg)}.viu-dragging{cursor:grabbing;user-select:none}.viu-drop-target>.lane{box-shadow:inset 0 0 0 2px #b28ade;background-color:#f8f1ff!important}.viu-drop-target>.project-label{box-shadow:inset 3px 0 #a772d7}@media(max-width:600px){.viu-widget{right:12px;bottom:12px}.viu-window{width:min(374px,calc(100vw - 24px))}.viu-list{height:min(328px,calc(100dvh - 300px))}}@media(prefers-reduced-motion:reduce){.viu-window,.viu-launcher{transition:none}}

.viu-text{overflow:hidden;cursor:text}.viu-note.expanded{height:278px;align-items:flex-start;border-color:#cdb8ed;box-shadow:0 4px 16px #714b9910}.viu-note.expanded .viu-text{height:244px;overflow:auto;overscroll-behavior:contain;padding-top:5px;padding-bottom:24px;font-size:13px;scrollbar-width:thin}.viu-note.expanded .viu-grip{margin-top:8px}.viu-note.expanded .viu-date{margin-top:7px}.viu-collapse{display:none;position:absolute;bottom:6px;right:24px;border:0;border-radius:6px;background:#f4eff9;color:#876b9e;cursor:pointer;width:26px;height:21px}.viu-note.expanded .viu-collapse{display:block}.viu-date{border:0;font-family:inherit;padding:0}.viu-date:focus-visible{outline:3px solid #c5b8ff;outline-offset:2px}.viu-calendar{width:min(350px,calc(100vw - 24px));box-sizing:border-box;z-index:1200;padding:20px}.viu-month-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px;text-transform:capitalize;font-size:14px}.viu-calendar .calendar-day{min-height:37px;font-size:14px;cursor:pointer}.viu-calendar .weekday{font-size:11px}.viu-calendar .icon-button{font-size:23px}.viu-calendar .calendar-day.outside{opacity:.5}.viu-calendar .picker-footer{margin-top:12px;padding-top:12px}

/* Виу Виу: карточки, редактор и жесты */
.viu-note{overflow:visible;transition:height .24s cubic-bezier(.2,.8,.2,1),transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;touch-action:pan-y}
.viu-grip{touch-action:none;flex:none}
.viu-date{order:0;width:48px;height:54px;border-radius:14px;box-shadow:0 3px 10px #c4407118}
.viu-note .viu-text{order:1;min-height:54px;padding:9px 10px;border-radius:12px;transition:background .2s ease,color .2s ease}
.viu-note.expanded{height:278px;border-color:#f3a9ca;background:#fff5fa;box-shadow:0 8px 24px #c8508018}
.viu-note.expanded .viu-text{background:#ffeaf3;color:#49333f;border:1px solid #f6c5d9;border-radius:12px;padding:11px 12px}
.viu-date:hover{filter:brightness(.97);transform:translateY(-1px)}
.viu-remove{display:inline-flex;align-items:center;justify-content:center;gap:5px;align-self:center;width:30px;height:34px;flex:none;border:0;border-radius:10px;background:#fff2f5;color:#c85870;transition:background .16s,color .16s}
.viu-remove svg{width:17px;height:17px}.viu-remove span{display:none}.viu-remove:hover{background:#fce1e8;color:#b83755}
.viu-window{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.viu-window.open{animation:viu-open .28s cubic-bezier(.16,1,.3,1) both}
@keyframes viu-open{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.viu-drag-ghost{border-color:#f0a9c9;background:#fff0f7;color:#8e3f66;box-shadow:0 16px 38px #8e3f6635}
.viu-drop-target>.lane{box-shadow:inset 0 0 0 2px #fe76b4;background-color:#fff0f7!important}
.viu-drop-target>.project-label{box-shadow:inset 3px 0 #fe76b4,5px 0 12px #33203e04}
@media(max-width:760px),(pointer:coarse) and (max-height:600px){
 .soft-theme .viu-widget{right:12px;bottom:12px}
 .soft-theme .viu-window{width:min(410px,calc(100vw - 24px));max-height:min(78dvh,720px);border-radius:24px;margin-bottom:10px;box-shadow:0 18px 55px #59334a2b}
 .soft-theme .viu-header{padding:17px 17px 14px}.soft-theme .viu-heading h2{font-size:19px}
 .soft-theme .viu-list{height:min(48dvh,420px);min-height:150px;padding:12px;gap:9px;overflow-x:hidden}
 .soft-theme .viu-note{min-height:76px;height:76px;border-radius:17px;padding:9px;gap:8px}
 .soft-theme .viu-note.expanded{height:270px}
 .soft-theme .viu-note .viu-grip{width:18px;font-size:19px}
 .soft-theme .viu-note .viu-date{width:47px;height:52px;border-radius:15px}
 .soft-theme .viu-note .viu-text{height:54px;font-size:14px;padding:8px 9px}
 .soft-theme .viu-note.expanded .viu-text{height:236px;font-size:15px;line-height:1.6}
 .soft-theme .viu-note .viu-remove{position:absolute;top:0;right:-70px;width:60px;height:100%;border-radius:16px;background:#e65d78;color:#fff;box-shadow:0 4px 12px #d74d6c24}
 .soft-theme .viu-note .viu-remove svg{display:none}.soft-theme .viu-note .viu-remove span{display:block;font-size:10px;font-weight:700}
 .soft-theme .viu-note.swiped{transform:translateX(-70px)}
 .soft-theme .viu-note .viu-collapse{right:16px;bottom:7px;width:34px;height:26px;border-radius:99px;background:#ffe2ef;color:#a13f72}
 .soft-theme .viu-footer{padding:12px 14px 14px}.soft-theme .viu-footer p{font-size:10px}
 .soft-theme .viu-launcher{min-height:54px;padding:12px 16px;box-shadow:0 9px 26px #51376824}
}
@media(prefers-reduced-motion:reduce){.viu-note,.viu-date,.viu-remove{transition:none!important}.viu-window.open{animation:none}}

/* Viu Viu: quiet notebook, v40 */
.soft-theme .viu-window{width:420px;height:min(64dvh,740px);max-height:calc(100dvh - 130px);display:flex;flex-direction:column;background:#f8f5f8;border:1px solid #fff;border-radius:26px;box-shadow:0 20px 65px #50324426;backdrop-filter:none;-webkit-backdrop-filter:none}
.soft-theme .viu-header{flex:none;padding:19px 20px;background:#fff;border-bottom:1px solid #eee6ed}
.soft-theme .viu-heading{gap:10px}.soft-theme .viu-heading>svg{width:23px;height:23px;color:#b55d8e}
.soft-theme .viu-heading h2{font-size:19px;letter-spacing:-.4px;color:#3f303a}
.soft-theme .viu-close{width:32px;height:32px;border-radius:50%;background:#f5eff4;color:#927789}
.soft-theme .viu-list{flex:1;height:auto;min-height:0;padding:14px;gap:10px;overflow:auto;overflow-x:hidden;scrollbar-width:thin}
.soft-theme .viu-note{display:grid;grid-template-columns:minmax(0,1fr) 46px 26px;grid-template-rows:auto;align-items:center;gap:10px;height:88px;min-height:88px;padding:14px;border-radius:18px;background:#fff;border:1px solid #eae2e9;box-shadow:0 2px 5px #51314a03;cursor:grab;touch-action:none;user-select:none;transition:border-color .18s,box-shadow .18s,transform .18s}
.soft-theme .viu-note:hover{border-color:#dcb6cf;box-shadow:0 4px 16px #70345209}
.soft-theme .viu-grip{display:none}
.soft-theme .viu-preview{grid-column:1;grid-row:1;min-width:0;color:#51424d;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}
.soft-theme .viu-preview>span{color:#b6a5b0}
.soft-theme .viu-note .viu-date{grid-column:2;grid-row:1;width:46px;height:50px;order:initial;border:0;border-radius:14px;background:#ed6a88;box-shadow:none;margin:0;color:#fff;cursor:pointer}
.soft-theme .viu-date b{font-size:20px;line-height:23px}.soft-theme .viu-date span{font-size:9px;line-height:12px}
.soft-theme .viu-note .viu-remove{position:static;grid-column:3;grid-row:1;width:26px;height:30px;align-self:center;border-radius:9px;color:#b9a4b2;background:transparent;box-shadow:none}
.soft-theme .viu-note .viu-remove svg{display:block;width:17px;height:17px}.soft-theme .viu-note .viu-remove span{display:none}
.soft-theme .viu-note .viu-remove:hover{color:#cf4869;background:#fff0f4}
.soft-theme .viu-note .viu-text{display:none}
.soft-theme .viu-note.expanded{height:298px;min-height:298px;grid-template-rows:50px minmax(0,1fr) 30px;cursor:default;background:#fff;border-color:#e3b5ce;box-shadow:0 5px 20px #9a487116}
.soft-theme .viu-note.expanded .viu-preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#a18496;font-size:11px}
.soft-theme .viu-note.expanded .viu-text{display:block;grid-column:1/-1;grid-row:2;order:initial;min-height:0;height:100%;width:100%;padding:12px;border:1px solid #eee4eb;border-radius:12px;background:#fcf9fb;font-size:14px;line-height:1.6;overflow:auto;resize:none;user-select:text;touch-action:pan-y;color:#473440;cursor:text}
.soft-theme .viu-note.expanded .viu-collapse{display:flex;align-items:center;justify-content:center;position:static;grid-column:1/-1;grid-row:3;justify-self:end;width:auto;min-width:76px;height:30px;padding:6px 13px;border-radius:99px;background:#fbe3ef;color:#a84f80;font-size:11px;font-weight:600}
.soft-theme .viu-footer{flex:none;background:#fff;border-top:1px solid #eee6ed;padding:12px 14px 14px}
.soft-theme .viu-footer p{display:none}
.soft-theme .viu-add{display:flex;align-items:center;justify-content:center;min-height:42px;border:0;border-radius:99px;background:#fbe1ee;color:#a8457b;font-size:13px;font-weight:600}
.soft-theme .viu-add:hover{background:#f8d1e5}
.soft-theme .viu-status{font-size:11px;color:#b44b70;padding:0 4px}
.soft-theme .viu-empty{gap:10px;color:#b6a2af}.soft-theme .viu-empty b{font-size:15px;color:#987b8e}.soft-theme .viu-empty span{font-size:12px;color:#b6a2af}
.soft-theme .viu-calendar{border:1px solid #eadde6;border-radius:22px;background:#fff;box-shadow:0 15px 55px #59314925}
.soft-theme .viu-calendar .viu-month-heading{background:#f7f0f5;padding:5px;border-radius:99px;font-size:13px}
.soft-theme .viu-calendar .calendar-day{border-radius:50%;min-height:38px}.soft-theme .viu-calendar .calendar-day.selected{background:#ed6a88;color:#fff}
.soft-theme .viu-drag-ghost{background:#fffafd;border-color:#de99bf;border-radius:16px;box-shadow:0 15px 40px #76345328}
@media(max-width:760px),(pointer:coarse) and (max-height:600px){
.soft-theme .viu-window{width:min(420px,calc(100vw - 24px));height:66dvh;max-height:calc(100dvh - 150px);border-radius:24px;margin-bottom:12px}
.soft-theme .viu-header{padding:16px 17px}.soft-theme .viu-list{padding:12px;gap:10px}
.soft-theme .viu-note{grid-template-columns:minmax(0,1fr) 46px;height:88px;min-height:88px;padding:13px;gap:12px}
.soft-theme .viu-preview{font-size:14px}
.soft-theme .viu-note .viu-remove{position:absolute;top:0;right:-76px;width:66px;height:100%;border-radius:16px;color:#fff;background:#e76b83;display:flex;flex-direction:column;gap:6px}
.soft-theme .viu-note .viu-remove svg{display:block;width:19px;height:19px}.soft-theme .viu-note .viu-remove span{display:block;font-size:9px}
.soft-theme .viu-note.swiped{transform:translateX(-76px)}
.soft-theme .viu-note.expanded{height:298px;min-height:298px;grid-template-columns:minmax(0,1fr) 46px 26px;gap:10px}
.soft-theme .viu-note.expanded .viu-remove{position:static;width:26px;height:30px;background:#fff0f4;color:#bf6a8a}.soft-theme .viu-note.expanded .viu-remove span{display:none}
.soft-theme .viu-note.expanded .viu-text{font-size:16px}
.soft-theme .viu-note.expanded .viu-collapse{width:auto;height:30px}
}

@media(max-width:760px),(pointer:coarse) and (max-height:600px){
.soft-theme .viu-note:not(.expanded):not(.swiped) .viu-remove{opacity:0;pointer-events:none}
.soft-theme .viu-note.swiped .viu-remove,.soft-theme .viu-note.expanded .viu-remove{opacity:1;pointer-events:auto}
}

/* Keep the notes surface distinct from the page while leaving editable fields white. */
.soft-theme .viu-window{background:#fff5f9;border-color:#efd8e3}
.soft-theme .viu-header,.soft-theme .viu-footer{background:#fff0f6}
.soft-theme .viu-list{background:#fff7fa}
.soft-theme .viu-note,.soft-theme .viu-note.expanded{background:#fff}
.soft-theme .viu-note.expanded .viu-text{background:#fff!important}
.soft-theme .viu-calendar{background:#fff5f9}
