@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--paper:#f7f6f2;--ink:#20241f;--muted:#888b82;--line:#e8e6df;--green:#d7f05e;--white:#fff;--shadow:0 12px 38px rgba(38,40,27,.055)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{max-width:1180px;margin:auto;padding:0 30px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:800 21px Manrope,sans-serif;letter-spacing:-1.3px}.brand-mark{width:28px;height:28px;border-radius:9px;background:var(--green);display:grid;place-items:center;font-size:20px}.header-actions{display:flex;align-items:center;gap:18px}.connection{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px}.connection i{width:7px;height:7px;background:#c6c8c1;border-radius:50%}.connection.online i{background:#72af49;box-shadow:0 0 0 3px #72af4920}.icon-button{border:1px solid var(--line);background:transparent;border-radius:10px;width:36px;height:36px;color:#686b62;font-size:17px}.hidden{display:none!important}main{flex:1}.setup-card{background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);max-width:510px;margin:10vh auto;padding:42px}.eyebrow{font:500 10px 'DM Mono',monospace;letter-spacing:1.6px;color:#898c7f}.setup-card h1,.welcome-row h1{font:700 34px Manrope,sans-serif;letter-spacing:-1.6px;margin:12px 0 8px}.setup-card>p{margin:0 0 28px;color:#777a72;font-size:14px;line-height:1.65}.stack{display:flex;flex-direction:column;gap:16px}.stack label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#5d6057}.stack input,.stack select,.stack textarea{width:100%;border:1px solid #e6e5de;border-radius:10px;background:#fbfbf9;padding:12px 13px;color:var(--ink);outline:none;font-size:14px;font-weight:400}.stack input:focus,.stack select:focus,.stack textarea:focus{border-color:#b4c43b;box-shadow:0 0 0 3px #d7f05e38}.stack textarea{resize:vertical;min-height:96px}.optional{color:#a0a197;font-weight:400;font-size:11px;margin-left:5px}.primary{border:0;border-radius:10px;background:var(--green);color:#252b15;font-weight:700;padding:14px 17px;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#cdeb4f;transform:translateY(-1px)}.primary span{font-size:18px}.hint{font-size:11px;color:#9a9b92;line-height:1.6;margin-top:18px}.auth-bottom{border-top:1px solid var(--line);padding-top:16px;margin-top:22px}.text-button{background:none;border:0;color:#7d8076;padding:4px 0;font-size:12px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;margin:39px 0 26px}.welcome-row h1{margin:8px 0 0;font-size:35px}.sun{color:#87962b}.workspace{display:grid;grid-template-columns:minmax(320px,.88fr) minmax(420px,1.12fr);gap:20px;align-items:start}.card{background:var(--white);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.composer{padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{font:700 17px Manrope,sans-serif;margin:0}.step{font:500 9px 'DM Mono',monospace;color:#a1a299;letter-spacing:1px}.field-row{display:grid;grid-template-columns:.78fr 1.22fr;gap:11px}.field-row input,.field-row select{min-width:0}.upload-field{position:relative}.upload-field input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-name{border:1px dashed #d9d9d0;border-radius:10px;padding:11px 13px;color:#81847a;font-size:13px;font-weight:400}.image-preview{border-radius:10px;background:#f2f2ee;padding:8px;display:flex;align-items:center;gap:10px;font-size:12px;color:#70736b}.image-preview img{width:42px;height:42px;object-fit:cover;border-radius:7px}.form-note{color:#9b9d94;font-size:10px;line-height:1.5;margin-top:-5px}.list-column{display:flex;flex-direction:column;gap:20px}.task-card,.history-card{padding:22px 22px 6px}.task-card .section-heading,.history-card .section-heading{margin-bottom:7px}.count{background:#f2f2ee;padding:4px 9px;border-radius:20px;color:#81847a;font:11px 'DM Mono',monospace}.push-button{font-size:10px;font-weight:600;color:#667228;border:1px solid #e2e7c9;background:#f8faed;padding:7px 10px;border-radius:8px}.push-button.enabled{color:#638153;background:#f1f8ee}.tasks-list:empty:after{content:'Nothing here yet.';display:block;padding:26px 0;color:#a0a197;font-size:12px}.task-row{padding:15px 0;border-top:1px solid #efeee9;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.task-main{min-width:0}.task-top{display:flex;align-items:center;gap:8px;margin-bottom:5px}.channel-chip{font:500 9px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.5px;color:#646750;background:#f1f1e9;border-radius:5px;padding:4px 6px}.task-recipient{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-message{font-size:11px;color:#8c8e85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}.task-time{font-size:10px;color:#85877e;margin-top:6px}.status{font:500 9px 'DM Mono',monospace;text-transform:lowercase;border-radius:20px;padding:5px 8px;background:#f4f4ef;color:#81847a;white-space:nowrap}.status.scheduled{background:#f1f5dd;color:#717e26}.status.sent{background:#eaf5e7;color:#558444}.status.failed{background:#fff0ec;color:#bd654f}.status.manual_needed{background:#fdf2df;color:#a5792e}.task-right{display:flex;align-items:flex-end;flex-direction:column;gap:6px}.task-actions{display:flex;gap:6px;margin-top:8px;justify-content:flex-end}.task-actions button{border:0;background:transparent;color:#96988f;font-size:10px;padding:3px}.task-actions button:hover{color:#333}.empty-state{padding:25px 0;color:#a0a197;font-size:12px}.tiny-footer{padding:22px 0 24px;border-top:1px solid var(--line);margin-top:36px;display:flex;justify-content:space-between;color:#a4a59d;font:10px 'DM Mono',monospace}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);padding:12px 16px;background:#242820;color:white;border-radius:10px;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:5;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}.settings-dialog{width:min(440px,calc(100% - 30px));border:1px solid var(--line);border-radius:17px;padding:25px;background:var(--white);box-shadow:0 20px 70px #20241f30}.settings-dialog::backdrop{background:#20241f66;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.dialog-head h2{font:700 20px Manrope,sans-serif;margin:8px 0 0}.share-prompt{background:#f1f6d8;border:1px solid #e0e9b7;border-radius:12px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;margin:-9px 0 19px;gap:10px}.share-prompt strong,.share-prompt span{display:block}.share-prompt strong{font-size:12px}.share-prompt span{font-size:11px;color:#70765b;margin-top:3px}.primary.small{padding:10px 13px;font-size:11px;gap:10px;white-space:nowrap}.primary.small span{font-size:14px}@media(max-width:800px){.shell{padding:0 18px}.topbar{height:66px}.workspace{grid-template-columns:1fr}.welcome-row{margin:29px 0 20px}.welcome-row h1{font-size:30px}.composer{padding:20px}.list-column{gap:14px}.task-card,.history-card{padding:19px 18px 5px}.tiny-footer{margin-top:25px}.setup-card{margin:8vh auto;padding:30px 23px}}@media(max-width:430px){.field-row{grid-template-columns:1fr}.connection{font-size:10px}.welcome-row h1{font-size:27px}.shell{padding:0 14px}.task-row{gap:6px}.status{font-size:8px;padding:5px 6px}.composer{padding:18px}.tiny-footer{font-size:9px}}
/* Dark elegant theme */
:root{color-scheme:dark;--paper:#131318;--ink:#f1f0f5;--muted:#9a99a6;--line:#2b2c35;--green:#7f77dd;--white:#1d1e25;--shadow:0 14px 40px rgba(0,0,0,.35)}
body{background-color:#131318;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="220" height="220" viewBox="0 0 220 220"%3E%3Cg fill="none" stroke="%239d95f0" stroke-width="1.4" stroke-linejoin="round" stroke-linecap="round" opacity=".16"%3E%3Cg transform="translate(22 28) rotate(-8)"%3E%3Crect width="38" height="26" rx="3"/%3E%3Cpath d="M0 2l19 13 19-13"/%3E%3C/g%3E%3Cg transform="translate(128 118) rotate(10)"%3E%3Crect width="34" height="23" rx="3"/%3E%3Cpath d="M0 2l17 12 17-12"/%3E%3C/g%3E%3Cg transform="translate(140 30) rotate(-15)"%3E%3Cpath d="M0 12L34 0 24 28 15 17z"/%3E%3Cpath d="M34 0L15 17"/%3E%3C/g%3E%3Cg transform="translate(36 140) rotate(12)"%3E%3Cpath d="M0 12L30 0 21 25 13 15z"/%3E%3Cpath d="M30 0L13 15"/%3E%3C/g%3E%3Cpath d="M70 70c14-10 26 4 40-6" stroke-dasharray="2 5"/%3E%3Cpath d="M168 82c10 12 0 22 12 32" stroke-dasharray="2 5"/%3E%3Ccircle cx="100" cy="190" r="1.6"/%3E%3Ccircle cx="196" cy="196" r="1.2"/%3E%3Ccircle cx="92" cy="22" r="1.2"/%3E%3C/g%3E%3C/svg%3E');background-size:220px 220px;background-attachment:fixed}
.topbar{background:rgba(19,19,24,.82);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.brand{color:var(--ink)}
.brand-mark{background:#7f77dd;color:#fff;font-size:17px}
.connection.online i{background:#8be0b4;box-shadow:0 0 0 3px #8be0b425}
.connection i{background:#4a4b55}
.icon-button{color:#b9b8c6;border-color:var(--line)}
.card,.setup-card,.settings-dialog{background:rgba(29,30,37,.94);border-color:var(--line)}
.eyebrow,.step{color:#8e8ca6}
.setup-card>p,.hint,.form-note,.text-button{color:#a3a2b2}
.stack label{color:#c5c4d3}
.optional{color:#8a8998}
.stack input,.stack select,.stack textarea{background:#16171c;border-color:#33343e;color:var(--ink)}
.stack input::placeholder,.stack textarea::placeholder{color:#6f6e7c}
.stack input:focus,.stack select:focus,.stack textarea:focus{border-color:#9d95f0;box-shadow:0 0 0 3px #7f77dd40}
.primary{background:#7f77dd;color:#fff}
.primary:hover{background:#8f88e6}
.sun{color:#afa9ec}
.file-name{border-color:#3a3b46;color:#a3a2b2}
.image-preview{background:#16171c;color:#a3a2b2}
.count{background:#26272f;color:#b9b8c6}
.push-button{font-size:12px;padding:9px 13px;color:#cecbf6;border-color:#4b4594;background:#2b2766}
.push-button.enabled{color:#9fe1cb;border-color:#1d5c49;background:#0f2e26}
.task-row{border-top-color:#2b2c35}
.task-recipient{color:var(--ink)}
.task-message,.task-time,.task-actions button,.empty-state,.tasks-list:empty:after{color:#9a99a6}
.task-actions button:hover{color:#fff}
.channel-chip{background:#2b2766;color:#cecbf6}
.status{background:#26272f;color:#b9b8c6}
.status.scheduled{background:#2b2766;color:#cecbf6}
.status.sent{background:#0f2e26;color:#9fe1cb}
.status.failed{background:#3a1717;color:#f7c1c1}
.status.manual_needed{background:#3a2a0b;color:#fac775}
.tiny-footer{color:#6f6e7c;border-top-color:var(--line)}
.toast{background:#2b2766;color:#fff;border:1px solid #4b4594}
.settings-dialog::backdrop{background:#0008}
.share-prompt{background:#2b2766;border-color:#4b4594}
.share-prompt strong{color:#fff}
.share-prompt span{color:#cecbf6}
.primary{position:relative;background:linear-gradient(180deg,#a39cf0 0%,#8178e0 45%,#6c63d3 100%);color:#fff;text-shadow:0 1px 0 #3c348966;border:1px solid #b5aff5;border-bottom-color:#4b4594;box-shadow:0 6px 0 #3c3489,0 10px 18px rgba(60,52,137,.55),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .08s,box-shadow .08s;margin-bottom:6px}
.primary:hover{background:linear-gradient(180deg,#ada7f3 0%,#8b83e6 45%,#756cd9 100%);transform:translateY(-1px);box-shadow:0 7px 0 #3c3489,0 12px 22px rgba(60,52,137,.6),inset 0 1px 0 rgba(255,255,255,.4)}
.primary:active{transform:translateY(5px);box-shadow:0 1px 0 #3c3489,0 3px 8px rgba(60,52,137,.5),inset 0 1px 0 rgba(255,255,255,.25)}
.primary:disabled{opacity:.7}
.primary.small{box-shadow:0 4px 0 #3c3489,0 7px 12px rgba(60,52,137,.5),inset 0 1px 0 rgba(255,255,255,.35)}
.primary.small:active{transform:translateY(3px);box-shadow:0 1px 0 #3c3489}
.primary{background:linear-gradient(180deg,#d4efff 0%,#8fd3ff 45%,#5bbaf5 100%);color:#06304f;text-shadow:0 1px 0 rgba(255,255,255,.45);border:1px solid #e3f5ff;border-bottom-color:#2f8fd0;box-shadow:0 6px 0 #1f6fae,0 10px 18px rgba(55,150,225,.45),inset 0 1px 0 rgba(255,255,255,.7)}
.primary:hover{background:linear-gradient(180deg,#e0f4ff 0%,#9cd9ff 45%,#67c1f7 100%);box-shadow:0 7px 0 #1f6fae,0 12px 22px rgba(55,150,225,.5),inset 0 1px 0 rgba(255,255,255,.75)}
.primary:active{box-shadow:0 1px 0 #1f6fae,0 3px 8px rgba(55,150,225,.4),inset 0 1px 0 rgba(255,255,255,.5)}
.primary.small{box-shadow:0 4px 0 #1f6fae,0 7px 12px rgba(55,150,225,.4),inset 0 1px 0 rgba(255,255,255,.7)}
.primary.small:active{box-shadow:0 1px 0 #1f6fae}

:root{--paper:#1f2029;--line:#353644;--white:#2a2b37}
body{background-color:#1f2029;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="220" height="220" viewBox="0 0 220 220"%3E%3Cg fill="none" stroke="%23b3adf5" stroke-width="1.3" stroke-linejoin="round" stroke-linecap="round" opacity=".3"%3E%3Cg transform="translate(18 26) rotate(-8)"%3E%3Crect width="46" height="31" rx="3"/%3E%3Cpath d="M0 2l23 16 23-16"/%3E%3C/g%3E%3Cg transform="translate(124 116) rotate(10)"%3E%3Crect width="42" height="28" rx="3"/%3E%3Cpath d="M0 2l21 14 21-14"/%3E%3C/g%3E%3Cg transform="translate(136 24) rotate(-15)"%3E%3Cpath d="M0 15L42 0 30 35 19 21z"/%3E%3Cpath d="M42 0L19 21"/%3E%3Cpath d="M19 21l-2 11 7-6"/%3E%3C/g%3E%3Cg transform="translate(30 136) rotate(12)"%3E%3Cpath d="M0 14L38 0 27 32 17 19z"/%3E%3Cpath d="M38 0L17 19"/%3E%3Cpath d="M17 19l-2 10 6-5"/%3E%3C/g%3E%3Cpath d="M74 74c14-10 26 4 40-6" stroke-dasharray="2 5"/%3E%3Cpath d="M170 86c10 12 0 22 12 32" stroke-dasharray="2 5"/%3E%3Ccircle cx="100" cy="192" r="1.8"/%3E%3Ccircle cx="198" cy="198" r="1.4"/%3E%3Ccircle cx="94" cy="20" r="1.4"/%3E%3C/g%3E%3C/svg%3E');background-size:340px 340px}
.topbar{background:rgba(31,32,41,.85)}
.card,.setup-card,.settings-dialog{background:rgba(42,43,55,.95)}
.stack input,.stack select,.stack textarea,.image-preview{background:#20212b}

body{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="220" height="220" viewBox="0 0 220 220"%3E%3Cdefs%3E%3ClinearGradient id="e" x1="0" y1="0" x2="0" y2="1"%3E%3Cstop offset="0" stop-color="%23c9c5ff"/%3E%3Cstop offset="1" stop-color="%238e87e0"/%3E%3C/linearGradient%3E%3ClinearGradient id="f" x1="0" y1="0" x2="0" y2="1"%3E%3Cstop offset="0" stop-color="%23e9e7ff"/%3E%3Cstop offset="1" stop-color="%23aaa4f0"/%3E%3C/linearGradient%3E%3ClinearGradient id="p" x1="0" y1="0" x2="1" y2="1"%3E%3Cstop offset="0" stop-color="%23f0eeff"/%3E%3Cstop offset="1" stop-color="%23a39cf0"/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg opacity=".38"%3E%3Cg transform="translate(18 26) rotate(-8)"%3E%3Cellipse cx="23" cy="38" rx="22" ry="3" fill="%23000" opacity=".35"/%3E%3Crect width="46" height="31" rx="3" fill="url(%23e)" stroke="%23d6d2ff" stroke-width=".8"/%3E%3Cpath d="M0 31l18-14h10l18 14z" fill="%237d76c9"/%3E%3Cpath d="M1 2l22 16 22-16" fill="url(%23f)" stroke="%23e4e1ff" stroke-width=".8"/%3E%3C/g%3E%3Cg transform="translate(124 116) rotate(10) scale(.92)"%3E%3Cellipse cx="23" cy="38" rx="22" ry="3" fill="%23000" opacity=".35"/%3E%3Crect width="46" height="31" rx="3" fill="url(%23e)" stroke="%23d6d2ff" stroke-width=".8"/%3E%3Cpath d="M0 31l18-14h10l18 14z" fill="%237d76c9"/%3E%3Cpath d="M1 2l22 16 22-16" fill="url(%23f)" stroke="%23e4e1ff" stroke-width=".8"/%3E%3C/g%3E%3Cg transform="translate(136 24) rotate(-15)"%3E%3Cellipse cx="22" cy="40" rx="18" ry="2.6" fill="%23000" opacity=".3"/%3E%3Cpath d="M0 15L42 0 19 21z" fill="url(%23p)"/%3E%3Cpath d="M42 0L30 35 19 21z" fill="%236f68c4"/%3E%3Cpath d="M19 21l-2 11 7-6z" fill="%234f489f"/%3E%3Cpath d="M0 15L42 0 30 35 19 21z" fill="none" stroke="%23e4e1ff" stroke-width=".7" stroke-linejoin="round"/%3E%3C/g%3E%3Cg transform="translate(30 136) rotate(12) scale(.9)"%3E%3Cellipse cx="22" cy="40" rx="18" ry="2.6" fill="%23000" opacity=".3"/%3E%3Cpath d="M0 15L42 0 19 21z" fill="url(%23p)"/%3E%3Cpath d="M42 0L30 35 19 21z" fill="%236f68c4"/%3E%3Cpath d="M19 21l-2 11 7-6z" fill="%234f489f"/%3E%3Cpath d="M0 15L42 0 30 35 19 21z" fill="none" stroke="%23e4e1ff" stroke-width=".7" stroke-linejoin="round"/%3E%3C/g%3E%3Cg fill="none" stroke="%23b3adf5" stroke-width="1.3" stroke-linecap="round"%3E%3Cpath d="M74 74c14-10 26 4 40-6" stroke-dasharray="2 5"/%3E%3Cpath d="M170 86c10 12 0 22 12 32" stroke-dasharray="2 5"/%3E%3C/g%3E%3Cg fill="%23b3adf5"%3E%3Ccircle cx="100" cy="192" r="1.8"/%3E%3Ccircle cx="198" cy="198" r="1.4"/%3E%3Ccircle cx="94" cy="20" r="1.4"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')}

.stack label{color:#8fd3ff;font-weight:700;font-size:13px;letter-spacing:.2px}
.stack label .optional{color:#6aa9cf;font-weight:500}
.brand-mark{background:linear-gradient(180deg,#a39cf0,#6c63d3);box-shadow:0 3px 0 #3c3489,inset 0 1px 0 rgba(255,255,255,.35)}

.welcome-row h1,.section-heading h2{color:#fff;text-shadow:0 1px 0 #d6d2ff,0 2px 0 #aaa4f0,0 3px 0 #8178e0,0 4px 0 #5b53c4,0 5px 0 #3c3489,0 8px 10px rgba(0,0,0,.5)}
.welcome-row h1 .sun{color:#c9c5ff}
.section-heading h2{text-shadow:0 1px 0 #aaa4f0,0 2px 0 #6c63d3,0 3px 0 #3c3489,0 5px 6px rgba(0,0,0,.45)}
#login-email,#login-code,#recipient,#message{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%236f6e7c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 20l4.5-1 10-10a2.1 2.1 0 0 0-3-3l-10 10z" fill="%236f6e7c" fill-opacity=".18"/%3E%3Cpath d="M14 7l3 3"/%3E%3Cpath d="M4 20l1-4.5"/%3E%3C/svg%3E');background-repeat:no-repeat;background-size:20px 20px;background-position:right 12px center;padding-right:42px}
#message{background-position:right 12px top 12px}
#login-email:focus,#login-code:focus,#recipient:focus,#message:focus{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%238fd3ff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 20l4.5-1 10-10a2.1 2.1 0 0 0-3-3l-10 10z" fill="%238fd3ff" fill-opacity=".18"/%3E%3Cpath d="M14 7l3 3"/%3E%3Cpath d="M4 20l1-4.5"/%3E%3C/svg%3E')}
.welcome-row h1{letter-spacing:-.3px;-webkit-font-smoothing:antialiased;text-shadow:0 2px 0 #7f77dd,0 4px 0 #3c3489,0 7px 6px rgba(0,0,0,.35)}
.section-heading h2{letter-spacing:.1px;text-shadow:0 2px 0 #6c63d3,0 3px 4px rgba(0,0,0,.35)}

.invite-card{padding:22px}
.invite-card .section-heading{margin-bottom:10px}
.invite-text{font-size:13px;line-height:1.6;color:#c5c4d3;margin:0 0 16px}
.invite-card .primary{width:100%;margin-bottom:14px}
.invite-secondary{width:100%;padding:12px 16px;border-radius:10px;border:1px solid #4b4594;background:#2b2766;color:#cecbf6;font-weight:700;font-size:14px}
.invite-secondary:active{transform:translateY(1px)}

.kind-toggle{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#20212b;border:1px solid #353644;border-radius:12px;padding:5px}
.kind-btn{border:0;background:transparent;color:#a3a2b2;font-weight:700;font-size:14px;padding:11px 8px;border-radius:9px}
.kind-btn.active{background:linear-gradient(180deg,#a39cf0,#6c63d3);color:#fff;box-shadow:0 3px 0 #3c3489,inset 0 1px 0 rgba(255,255,255,.3)}
.capsule-hint{margin:-4px 0 0;font-size:13px;line-height:1.6;color:#cecbf6;background:#2b2766;border:1px solid #4b4594;border-radius:10px;padding:11px 13px}
.capsule-presets{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:-6px}
.capsule-presets span{font-size:12px;color:#8fd3ff;font-weight:700;margin-right:2px}
.capsule-presets button{border:1px solid #4b4594;background:#20212b;color:#cecbf6;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}
.capsule-presets button.active{background:#8fd3ff;border-color:#8fd3ff;color:#06304f}
.capsule-mode .composer,.capsule-mode{--cap:1}
.voice-field{display:flex;flex-direction:column;gap:8px}
.voice-label{font-size:13px;font-weight:700;color:#8fd3ff}
.voice-row{display:flex;align-items:center;gap:12px}
.voice-btn{border:1px dashed #3a3b46;background:transparent;color:#cecbf6;border-radius:10px;padding:11px 14px;font-size:13px;font-weight:600}
.voice-btn.recording{border-style:solid;border-color:#e24b4a;color:#f7c1c1;background:#3a1717;animation:recpulse 1.2s infinite}
.voice-timer{font:500 13px 'DM Mono',monospace;color:#f7c1c1}
.voice-preview{width:100%;height:40px}
@keyframes recpulse{50%{box-shadow:0 0 0 6px #e24b4a22}}

.group-card{padding:22px}
.group-card .section-heading{margin-bottom:10px}
.gc-row .task-message{white-space:normal}
.gc-entries{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.gc-entry{display:flex;gap:10px;background:#20212b;border:1px solid #353644;border-radius:10px;padding:10px}
.gc-entry img{width:54px;height:54px;object-fit:cover;border-radius:8px;flex:none}
.gc-entry strong{color:#8fd3ff;font-size:13px}
.gc-entry p{margin:4px 0 0;font-size:13px;color:#e4e3ee;line-height:1.5;white-space:pre-wrap}
.gc-row .task-recipient{white-space:normal}

.contacts-card{padding:22px}
.contacts-card .section-heading{margin-bottom:10px}
.contact-pick{width:100%;border:1px solid #4b4594;border-radius:10px;background:#2b2766;color:#cecbf6;padding:11px 13px;font-size:14px;font-weight:600;margin-bottom:-6px}
.ct-chips{display:flex;gap:6px;flex-wrap:wrap}
.ct-row .task-recipient{white-space:normal}
#ct-cancel{align-self:center}

.lang-btn{font-weight:700;font-size:12px;width:auto;padding:0 10px;color:#cecbf6}
.lang-mk .tasks-list:empty:after{content:'Сè уште нема ништо.'}
/* iOS Safari: date fields ignore width and stick out of the form */
.stack input[type=datetime-local],.stack input[type=date]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;min-height:46px;box-sizing:border-box;text-align:left}
.stack input[type=datetime-local]::-webkit-date-and-time-value,.stack input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
.field-row>label{min-width:0}

.tasks-list.collapsed>article:nth-of-type(n+3){display:none}
.show-more{display:block;width:100%;margin:4px 0 14px;padding:11px 14px;border-radius:10px;border:1px solid #4b4594;background:#20212b;color:#8fd3ff;font-weight:700;font-size:13px}
.show-more.hidden{display:none}

.cal-card{padding:22px}
.cal-card .section-heading{margin-bottom:10px}
.cal-row{grid-template-columns:1fr}
.cal-title{white-space:normal}
.cal-names{white-space:normal}
.cal-hit .cal-title{color:#8fd3ff}
.cal-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.cal-wish{border:1px solid #4b4594;background:#2b2766;color:#cecbf6;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}
.dictate-btn{align-self:flex-start;margin-top:-8px;border:1px solid #3a3b46;background:transparent;color:#8fd3ff;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:700}
.dictate-btn.recording{border-color:#e24b4a;color:#f7c1c1;animation:recpulse 1.2s infinite}
#big-toggle.on{background:#8fd3ff;color:#06304f;border-color:#8fd3ff}
body.big-text .shell{zoom:1.17}
.fx{position:fixed;inset:0;pointer-events:none;z-index:50;display:grid;place-items:center;overflow:hidden}
.fx-plane .fx-env{grid-area:1/1;animation:envIn .5s ease-out both,envOut .35s ease-in .95s forwards}
.fx-plane .fx-flap{transform-origin:60px 8px;animation:flap .35s ease-in .45s both}
.fx-plane .fx-plane{grid-area:1/1;opacity:0;animation:fly 1s cubic-bezier(.5,0,.75,.4) 1s forwards}
@keyframes envIn{from{transform:scale(.3) translateY(60px);opacity:0}to{transform:none;opacity:1}}
@keyframes flap{from{transform:scaleY(-1)}to{transform:scaleY(1)}}
@keyframes envOut{to{transform:scale(.4);opacity:0}}
@keyframes fly{0%{opacity:1;transform:translate(0,0) rotate(0) scale(.8)}100%{opacity:0;transform:translate(60vw,-70vh) rotate(-18deg) scale(.5)}}
.fx-seal{width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e8637f,#a32d4a 60%,#6b1530);box-shadow:0 0 0 8px #a32d4a55,0 18px 40px rgba(0,0,0,.5);display:grid;place-items:center;font-size:46px;animation:stamp .55s cubic-bezier(.2,1.6,.4,1) both,sealOut .4s ease-in 1.4s forwards}
@keyframes stamp{from{transform:scale(2.4);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes sealOut{to{transform:scale(.6);opacity:0}}
.fx-confetti i{position:absolute;top:-20px;width:9px;height:14px;border-radius:2px;animation:fall 1.8s ease-in forwards}
@keyframes fall{to{top:105vh;transform:rotate(540deg) translateX(40px)}}
@media(max-width:430px){.header-actions{gap:8px}.connection{font-size:0;gap:0}.connection i{width:10px;height:10px}}

.kind-toggle{grid-template-columns:repeat(3,1fr)}
.kind-btn{font-size:13px;padding:11px 4px}
.mt-reminders{display:flex;flex-direction:column;gap:8px}
.chk{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-weight:600!important;color:#e4e3ee!important;font-size:14px!important}
.chk input{width:20px!important;height:20px;accent-color:#8fd3ff;flex:none}
.groups-box{margin-top:18px;border-top:1px solid #353644;padding-top:16px}
.groups-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.groups-head strong{color:#fff;font-size:15px}
.grp-members{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto;padding:4px 2px}
.muted-note{color:#8a8998;font-size:12px}
/* Project connection settings are fixed in the app; hide them from users */
#edit-config,#settings-open,.auth-bottom{display:none!important}

.welcome{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;background:rgba(10,10,16,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .3s}
.welcome.open{opacity:1}
.welcome-card{width:min(430px,100%);max-height:92vh;overflow:auto;background:#2a2b37;border:1px solid #4b4594;border-radius:20px;padding:26px 22px 22px;box-shadow:0 30px 80px rgba(0,0,0,.6);display:flex;flex-direction:column;gap:12px;transform:translateY(20px) scale(.96);transition:transform .4s cubic-bezier(.2,1.3,.4,1)}
.welcome.open .welcome-card{transform:none}
.welcome-title{margin:4px 0 0;text-align:center;font:800 26px Manrope,sans-serif;color:#fff;text-shadow:0 2px 0 #7f77dd,0 4px 0 #3c3489}
.welcome-sub{margin:0;text-align:center;color:#c5c4d3;font-size:14px}
.welcome-list{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:9px}
.welcome-list li{display:flex;align-items:center;gap:12px;background:#20212b;border:1px solid #353644;border-radius:12px;padding:10px 12px;color:#e4e3ee;font-size:14px}
.welcome-list b{font-size:20px;width:26px;text-align:center}
.welcome-env{position:relative;width:130px;height:96px;margin:6px auto 0}
.w-back,.w-front{position:absolute;left:0;right:0;bottom:0;height:86px;border-radius:10px}
.w-back{background:#6c63d3}
.w-front{background:linear-gradient(160deg,#c9c5ff,#8e87e0);clip-path:polygon(0 28%,50% 62%,100% 28%,100% 100%,0 100%);border-radius:10px}
.w-flap{position:absolute;left:0;right:0;top:10px;height:50px;background:#aaa4f0;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;animation:wflap .6s ease .5s forwards}
.w-letter{position:absolute;left:14px;right:14px;bottom:8px;height:70px;background:#fff;border-radius:6px;display:grid;place-items:center;font-size:28px;animation:wletter .7s cubic-bezier(.2,1.4,.4,1) 1s forwards}
@keyframes wflap{to{transform:rotateX(180deg);z-index:0}}
@keyframes wletter{to{transform:translateY(-46px)}}
.welcome-env{margin:46px auto 0}

.lang-select{height:36px;border-radius:10px;border:1px solid var(--line);background:#20212b;color:#cecbf6;font-weight:700;font-size:12px;padding:0 6px}
.lang-pick{display:flex;flex-wrap:wrap;gap:8px;margin:-10px 0 20px}
.lang-pick button{border:1px solid #4b4594;background:#20212b;color:#cecbf6;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:700}
.lang-pick button.on{background:#8fd3ff;border-color:#8fd3ff;color:#06304f}
