:root{--v3b-purple:#5c39ed;--v3b-blue:#2585f2;--v3b-ink:#14213d;--v3b-muted:#6f7a93;--v3b-line:#e5eaf4;--v3b-green:#16b97d}
body.v3b-open{overflow:hidden!important}.v3bOverlay{position:fixed;inset:0;z-index:100001;background:rgba(12,22,50,.48);backdrop-filter:blur(5px);display:grid;place-items:center}.v3bApp{width:min(100%,1120px);height:min(100dvh,950px);display:grid;grid-template-rows:auto 1fr;overflow:hidden;background:linear-gradient(180deg,var(--guul-page-bg-2,#f6f8ff),var(--guul-page-bg,#fff));box-shadow:0 28px 85px rgba(18,31,75,.25)}.v3bTop{min-height:82px;padding:16px 20px;color:#fff;background:linear-gradient(125deg,#5935ee 0%,#2576f1 62%,#16a8e5 100%);display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center}.v3bTop>div b{display:block;font-size:19px;letter-spacing:.025em}.v3bTop>div small{display:block;font-size:10px;color:#dce9ff;letter-spacing:.12em;font-weight:850;margin-top:3px}.v3bBack,.v3bClose{width:46px;height:46px;border:0;border-radius:15px;color:#fff;background:rgba(255,255,255,.16);font-size:21px;cursor:pointer}.v3bBody{overflow:auto;padding:20px 20px calc(28px + env(safe-area-inset-bottom))}.v3bHero{background:linear-gradient(135deg,#5533ef,#2580f1 65%,#17a4e3);border-radius:25px;color:#fff;padding:20px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-bottom:12px;box-shadow:0 12px 30px rgba(54,72,164,.16)}.v3bHero small{font-size:9px;letter-spacing:.12em;font-weight:900;color:#dce9ff}.v3bHero h2{margin:4px 0 6px;font-size:24px}.v3bHero p{margin:0;max-width:690px;color:#e8f1ff;font-size:12.5px;line-height:1.55}.v3bHeroScore{width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;text-align:center;border:1px solid rgba(255,255,255,.2)}.v3bHeroScore b{font-size:26px}.v3bHeroScore small{display:block;font-size:9px;letter-spacing:0}.v3bTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#fff;border:1px solid var(--v3b-line);border-radius:18px;padding:5px;margin-bottom:12px;position:relative}.v3bTabs button{position:relative;border:0;border-radius:14px;background:transparent;color:#68748b;padding:10px 8px;font-weight:850;cursor:pointer}.v3bTabs button.active{background:linear-gradient(90deg,#5736ed,#337cf0);color:#fff;box-shadow:0 7px 17px rgba(72,55,224,.2)}.v3bTabs i{position:absolute;top:3px;right:14px;background:#ef4e62;color:#fff;border-radius:999px;min-width:17px;height:17px;display:grid;place-items:center;font-style:normal;font-size:8px}.v3bPanel{background:#fff;border:1px solid var(--v3b-line);border-radius:23px;padding:17px;box-shadow:0 8px 23px rgba(50,68,120,.055);margin-bottom:12px;color:var(--v3b-ink)}.v3bDayStrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.v3bDayStrip button{border:1px solid #e6eaf3;background:#f8faff;border-radius:15px;padding:9px 4px;color:#60708a;cursor:pointer;min-width:0}.v3bDayStrip button.active{background:linear-gradient(145deg,#ece8ff,#e7f2ff);border-color:#8873ed;color:#4f36db}.v3bDayStrip small,.v3bDayStrip b,.v3bDayStrip i{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3bDayStrip small{font-size:9px}.v3bDayStrip b{font-size:12px;margin-top:3px}.v3bDayStrip i{font-style:normal;font-size:8px;font-weight:900;margin-top:4px;color:#16a06d}.v3bSectionHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.v3bSectionHead small{font-size:9px;font-weight:900;color:#6447e4;letter-spacing:.08em}.v3bSectionHead h3{margin:3px 0 0;font-size:19px}.v3bSectionHead>b{font-size:12px;color:#63708a}.v3bAdd,.v3bReadAll{border:0;border-radius:13px;padding:10px 12px;background:#ede9ff;color:#5937e5;font-weight:900;cursor:pointer;white-space:nowrap}.v3bTaskList{display:grid;gap:8px}.v3bTask{display:grid;grid-template-columns:auto 46px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:16px;background:#f8f9fd;border:1px solid #e8ecf4}.v3bTask.done{background:#effbf6;border-color:#d5efe2}.v3bCheck{width:34px;height:34px;border-radius:10px;border:1px solid #cbd4e5;background:#fff;color:#fff;font-weight:950;cursor:pointer}.v3bTask.done .v3bCheck{background:#18b979;border-color:#18b979}.v3bTask img{width:42px;height:48px;border-radius:8px;object-fit:cover;background:#fff}.v3bTaskCopy{min-width:0}.v3bTaskCopy b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3bTaskCopy small{display:block;font-size:9.5px;color:#6f7b92;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3bDelete{width:30px;height:30px;border:0;border-radius:10px;background:#fff0f2;color:#c74658;font-size:18px;cursor:pointer}.v3bEmpty{text-align:center;padding:28px 12px;border-radius:18px;background:linear-gradient(145deg,#f7f9ff,#f5f1ff);border:1px dashed #dce2f0}.v3bEmpty.compact{padding:17px 10px}.v3bEmpty span{font-size:34px}.v3bEmpty b{display:block;font-size:16px;margin-top:8px}.v3bEmpty p{margin:5px auto 12px;color:#6b7790;font-size:11px;line-height:1.45;max-width:450px}.v3bEmpty button,.v3bGoSchedule{border:0;border-radius:13px;padding:10px 14px;background:#5938e9;color:#fff;font-weight:900;cursor:pointer}.v3bForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.v3bForm label{display:grid;gap:5px}.v3bForm label span{font-size:10px;color:#65728b;font-weight:850}.v3bForm input,.v3bForm select{width:100%;min-width:0;border:1px solid #dfe5f0;border-radius:13px;background:#fbfcff;padding:12px;color:#17233e;font:inherit}.v3bSave{grid-column:1/-1;border:0;border-radius:14px;padding:13px;background:linear-gradient(90deg,#5b38ec,#2e84f2);color:#fff;font-weight:900;cursor:pointer}.v3bSave:disabled{opacity:.45;cursor:not-allowed}.v3bMessages{display:grid;gap:9px}.v3bMessage{position:relative;width:100%;border:1px solid #e6eaf3;border-radius:18px;background:#fbfcff;padding:13px;display:grid;grid-template-columns:44px 1fr;gap:11px;text-align:left;color:#17233e;cursor:pointer}.v3bMessage.unread{background:linear-gradient(145deg,#f3f0ff,#edf7ff);border-color:#dcd5ff}.v3bMsgIcon{width:42px;height:42px;border-radius:13px;background:#fff;display:grid;place-items:center;font-size:21px;box-shadow:0 5px 13px rgba(45,61,106,.08)}.v3bMessage small{font-size:8.5px;color:#6651de;font-weight:900}.v3bMessage b{display:block;margin-top:3px;font-size:13px}.v3bMessage p{margin:4px 0 0;color:#68748c;font-size:10.5px;line-height:1.45}.v3bMessage>i{position:absolute;right:10px;top:10px;font-style:normal;font-size:7px;font-weight:950;color:#fff;background:#ef5064;border-radius:999px;padding:4px 6px}.v3bReminderSwitch{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.v3bReminderSwitch>span{width:50px;height:50px;border-radius:16px;background:#fff3dc;display:grid;place-items:center;font-size:25px}.v3bReminderSwitch small{font-size:9px;font-weight:900;color:#6145e4;letter-spacing:.08em}.v3bReminderSwitch h3{margin:3px 0;font-size:18px}.v3bReminderSwitch p{margin:0;color:#6b7790;font-size:10.5px;line-height:1.45}.v3bToggle{position:relative}.v3bToggle input{position:absolute;opacity:0}.v3bToggle i{display:block;width:48px;height:27px;border-radius:99px;background:#dce2ec;position:relative;transition:.2s}.v3bToggle i:after{content:"";position:absolute;width:21px;height:21px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 2px 6px rgba(40,50,80,.18);transition:.2s}.v3bToggle input:checked+i{background:#24bd86}.v3bToggle input:checked+i:after{left:24px}.v3bTime{margin-top:14px;border-radius:15px;background:#f8faff;border:1px solid #e8ecf4;padding:11px;display:flex;justify-content:space-between;align-items:center;gap:12px}.v3bTime span{font-size:11px;font-weight:850}.v3bTime input{border:1px solid #dfe5ef;border-radius:10px;padding:8px;background:#fff}.v3bReminderList{display:grid;gap:7px;margin-bottom:12px}.v3bReminderList>div{display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:center;padding:8px;background:#f8f9fd;border-radius:13px}.v3bReminderList img{width:36px;height:42px;border-radius:7px;object-fit:cover}.v3bReminderList b,.v3bReminderList small{display:block}.v3bReminderList b{font-size:11px}.v3bReminderList small{font-size:9px;color:#707b91;margin-top:2px}.v3bGoSchedule{width:100%}.v3bNote{border-radius:16px;padding:13px 15px;background:#eef6ff;color:#39527c;font-size:10.5px;line-height:1.5}.v3bNote p{margin:4px 0 0}.v3bToast{position:fixed;z-index:100010;right:16px;bottom:95px;max-width:360px;background:#fff;border:1px solid #e5eaf3;border-radius:18px;padding:12px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;box-shadow:0 18px 45px rgba(22,36,82,.2);opacity:0;transform:translateY(20px);pointer-events:none;transition:.2s}.v3bToast.show{opacity:1;transform:none;pointer-events:auto}.v3bToast>span{font-size:24px}.v3bToast b{font-size:11px}.v3bToast p{margin:3px 0 0;color:#65718a;font-size:10px;line-height:1.4}.v3bToast button{border:0;background:#f2f4f9;border-radius:8px;width:25px;height:25px;cursor:pointer}
@media(max-width:760px){.v3bApp{width:100%;height:100dvh}.v3bTop{min-height:70px;padding:12px;grid-template-columns:40px 1fr 40px;gap:9px}.v3bBack,.v3bClose{width:40px;height:40px;border-radius:12px}.v3bTop>div b{font-size:15px}.v3bTop>div small{font-size:8px}.v3bBody{padding:10px 10px calc(92px + env(safe-area-inset-bottom))}.v3bHero{padding:14px;border-radius:20px;grid-template-columns:1fr 72px;gap:10px}.v3bHero h2{font-size:17px}.v3bHero p{font-size:10px}.v3bHeroScore{width:68px;height:68px}.v3bHeroScore b{font-size:18px}.v3bTabs{border-radius:15px}.v3bTabs button{padding:9px 4px;font-size:10.5px}.v3bPanel{padding:12px;border-radius:19px}.v3bDayStrip{gap:4px;overflow-x:auto;grid-template-columns:repeat(7,minmax(54px,1fr));padding-bottom:2px}.v3bDayStrip button{padding:8px 3px}.v3bSectionHead h3{font-size:15px}.v3bSectionHead small{font-size:8px}.v3bAdd,.v3bReadAll{padding:8px 9px;font-size:9px}.v3bTask{grid-template-columns:auto 38px 1fr auto;gap:7px;padding:8px}.v3bCheck{width:30px;height:30px}.v3bTask img{width:35px;height:41px}.v3bTaskCopy b{font-size:10px}.v3bTaskCopy small{font-size:8px}.v3bDelete{width:27px;height:27px}.v3bForm{grid-template-columns:1fr}.v3bSave{grid-column:1}.v3bMessage{grid-template-columns:38px 1fr;padding:10px}.v3bMsgIcon{width:36px;height:36px;font-size:18px}.v3bReminderSwitch{grid-template-columns:42px 1fr auto;gap:8px}.v3bReminderSwitch>span{width:40px;height:40px;border-radius:12px;font-size:20px}.v3bReminderSwitch h3{font-size:14px}.v3bReminderSwitch p{font-size:9px}.v3bToggle i{width:42px;height:24px}.v3bToggle i:after{width:18px;height:18px}.v3bToggle input:checked+i:after{left:21px}.v3bToast{left:10px;right:10px;bottom:88px;max-width:none}}
@media(min-width:761px) and (max-width:1100px){.v3bApp{width:min(96%,900px);height:min(94dvh,920px);border-radius:26px}}@media(min-width:1101px){.v3bApp{border-radius:28px}}


/* v46 theme propagation for schedule/messages/reminders */
html[data-guul-theme] .v3bTabs,html[data-guul-theme] .v3bPanel,html[data-guul-theme] .v3bTask,html[data-guul-theme] .v3bMessage,html[data-guul-theme] .v3bTime,html[data-guul-theme] .v3bToast,html[data-guul-theme] .v3bDayStrip button,html[data-guul-theme] .v3bReminderList>div{background:var(--guul-surface,#fff)!important;border-color:var(--guul-line,#e5eaf4)!important}
html[data-guul-theme] .v3bEmpty,html[data-guul-theme] .v3bMessage.unread,html[data-guul-theme] .v3bTask.done,html[data-guul-theme] .v3bDayStrip button.active{background:var(--guul-surface-2,#f8faff)!important;border-color:var(--guul-line,#e5eaf4)!important}
