.lib-seg{display:flex;background:#ececee;border-radius:999px;padding:3px;margin-bottom:12px;max-width:420px}.lib-seg button{flex:1;min-height:40px;border:0;border-radius:999px;background:none;color:var(--muted);font:inherit;font-size:15px}.lib-seg button[aria-selected=true]{background:#fff;color:var(--text);font-weight:600;box-shadow:0 1px 3px #0000001f}.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:3px}.lib-tile{aspect-ratio:1;padding:0;border:0;background:var(--canvas);overflow:hidden;cursor:pointer}.lib-tile img{width:100%;height:100%;object-fit:cover;display:block}.lib-list{display:flex;flex-direction:column}.lib-row{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 4px;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}.lib-row:active,.lib-tile:active{opacity:.7}.lib-icon{width:40px;height:44px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--canvas);color:var(--text-secondary)}.lib-icon small{font-size:9px;font-weight:700;text-transform:uppercase;line-height:1}.lib-row-text{display:flex;flex-direction:column;min-width:0}.lib-row-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-page .empty-state h3{font-weight:400;max-width:36ch}.lib-upload-bar{position:sticky;bottom:16px;margin-top:24px;display:flex;justify-content:center}.lib-upload{min-height:48px;min-width:260px;font-size:16px;gap:8px}.lib-preview{display:block;max-width:100%;max-height:60vh;margin:0 auto;border-radius:8px}@media(max-width:768px){.lib-grid{grid-template-columns:repeat(3,1fr);margin:0 -16px}.library-page{padding-bottom:72px}.lib-upload-bar{position:fixed;left:16px;right:16px;bottom:calc(var(--tab-bar-h) + 12px + env(safe-area-inset-bottom));z-index:20}.lib-upload{width:100%}.lib-picker .lib-grid{margin:0}}.compose-toolbar{display:flex;gap:6px;flex-wrap:wrap;border:1px solid #bfc6d0;border-bottom:0;border-radius:4px 4px 0 0;padding:7px;background:#f7f8fa}.compose-toolbar .input{height:32px;width:auto;font-size:13px}.rich-editor{min-height:230px;max-height:400px;overflow:auto;border:1px solid #bfc6d0;border-radius:0 0 4px 4px;padding:14px;line-height:1.6;white-space:pre-wrap}.compose-attachments{display:flex;gap:8px;flex-wrap:wrap}.attachment-pill{display:flex;align-items:center;gap:8px;background:#edf0f4;border-radius:4px;padding:7px 10px;font-size:13px}.message-error{color:#a31728;background:#fff1f2;padding:12px;border-radius:4px;margin-top:14px}.template-list{display:flex;flex-direction:column;gap:12px}.template-list button{text-align:left;border:1px solid var(--border);padding:16px;border-radius:5px;background:#fff;display:flex;flex-direction:column;gap:8px}.template-list button:hover{border-color:#215af5;background:#f7f9ff}@media(max-width:768px){.compose-toolbar{gap:4px}.compose-toolbar .input{max-width:140px}}.workspace:has(>.inbox-workspace),.workspace:has(>*>.inbox-workspace){max-width:none;padding:0}.inbox-workspace{display:grid;grid-template-columns:440px minmax(480px,1fr);height:calc(100dvh - 61px);background:#fff}.inbox-sidebar{min-width:0;border-right:1px solid #e5e5e8;display:flex;flex-direction:column;min-height:0}.inbox-title{display:flex;align-items:center;justify-content:space-between;padding:18px 16px;gap:12px}.inbox-title h1{font-size:32px;font-weight:650;letter-spacing:-.5px;margin:0}.inbox-title .button{height:36px;border-color:#131416;color:#131416}.inbox-segments{padding:0 16px}.inbox-segments .tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#f3f3f5;border:1px solid #dcdce0;border-radius:4px;padding:3px;gap:0;margin:0;overflow:visible}.inbox-segments .tabs button{border:1px solid transparent;border-radius:3px;padding:5px 4px;margin:0;font-size:14px;color:#3d3f45;background:transparent;justify-content:center;white-space:nowrap}.inbox-segments .tabs button.active{background:#fff;border-color:#cfcfd4;color:#131416;box-shadow:none}.inbox-segments .tabs button .tab-count{margin-left:4px;font-size:11px}.inbox-search{display:flex;align-items:center;gap:8px;padding:14px 16px 10px;min-height:56px}.inbox-search-field{flex:1;min-width:0;display:flex;align-items:center;gap:6px}.inbox-search .search-input{flex:1;min-width:0}.inbox-icon-button{border:0;background:transparent;color:#131416;width:32px;height:32px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex:none}.inbox-icon-button:hover,.inbox-icon-button.active{background:#ececef}.inbox-icon-button:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.inbox-filter{position:relative}.inbox-filter-menu{position:absolute;top:38px;left:0;z-index:5;width:260px;background:#fff;border:1px solid #dcdce0;border-radius:8px;box-shadow:0 8px 24px #0000001f;padding:12px 14px}.inbox-filter-menu label{display:flex;align-items:center;gap:10px;font-size:14px}.inbox-filter-menu p{margin:8px 0 0;font-size:12px;color:#6b6d74;line-height:1.45}.inbox-search .inbox-count{margin-left:auto}.inbox-search .search-input .input{background:#f3f3f5;border-color:transparent}.inbox-count{font-size:13px;color:#3d3f45;min-width:2ch;text-align:right}.inbox-sidebar .message-list{flex:1;min-height:0;max-height:none;overflow:auto;border:0;padding:4px 8px 8px}.thread-list{list-style:none;margin:0;padding:0}.thread-list li+li .thread-row:before{content:"";position:absolute;top:0;left:12px;right:12px;border-top:1px solid #ececef}.thread-row{position:relative;width:100%;display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:14px 12px;border:0;border-radius:6px;background:transparent;text-align:left;color:#131416}.thread-row:hover{background:#f6f6f7}.thread-row.selected{background:#ececef}.thread-row.selected:before,.thread-row:hover:before,li:has(+li .thread-row.selected)+li .thread-row:before{border-color:transparent}.thread-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.thread-row .avatar,.thread-reader-head .avatar,.email-card-head .avatar{width:32px;height:32px;font-size:11px;background:#e5e5e8;color:#3d3f45}.thread-row-main{display:flex;flex-direction:column;min-width:0;gap:2px}.thread-row-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.thread-row-name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-row.unread .thread-row-name,.thread-row.unread .thread-row-subject{font-weight:650}.thread-row-time{font-size:12px;color:#3d3f45;white-space:nowrap;flex:none}.thread-row-subject,.thread-row-snippet{font-size:14px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-row-snippet{color:#3d3f45}.thread-row-project{font-size:12px;color:#6b6d74;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-more{display:flex;justify-content:center;padding:12px}.inbox-provider-tools{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px 8px;border-top:1px solid #ececef}.inbox-workspace .message-detail{background:#f6f6f7;min-width:0;min-height:0;padding:0;overflow:auto}.thread-reader{min-height:100%;display:flex;flex-direction:column}.thread-reader-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:14px;padding:16px 22px;min-height:74px;background:#fff;border-bottom:1px solid #e5e5e8}.thread-reader-head .avatar{width:36px;height:36px}.thread-reader-title{flex:1;min-width:0}.thread-reader-title h2{font-size:18px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-reader-title p{margin:2px 0 0;font-size:14px;color:#3d3f45;display:flex;flex-wrap:wrap;gap:0 6px}.thread-reader-title p>*+*:before{content:"·";margin-right:6px;color:#6b6d74}.thread-reader-title a{color:inherit;text-decoration:none}.thread-reader-title a:hover{text-decoration:underline}.thread-send.button.primary{background:#131416;border-color:#131416;color:#fff;height:36px}.thread-send.button.primary:hover{background:#2c2d31}.thread-mark-unread.button.ghost{color:#131416;font-weight:500;height:36px}.thread-reader-head .thread-back{display:none}.avatar.neutral{background:#ececef;border:1px dashed #c9cad0}.thread-reader-canvas{display:flex;flex-direction:column;gap:20px;padding:20px 42px 48px}.thread-reader-canvas>*{width:100%;max-width:960px;margin-inline:auto}.thread-import-note{margin:0 auto;font-size:13px;color:#6b6d74;line-height:1.5}.thread-earlier{display:flex;align-items:center;justify-content:center;gap:12px}.email-card{background:#fff;border-radius:12px;padding:16px 16px 22px;min-width:0}.email-card-head{display:flex;align-items:center;gap:10px}.email-card-who{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px}.email-card-who strong{font-weight:600}.email-card-who span{color:#6b6d74;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-card-time{font-size:14px;color:#3d3f45;white-space:nowrap}.email-card-reply{border:0;background:transparent;color:#3d3f45;padding:6px;border-radius:4px;display:flex}.email-card-reply:hover{background:#f3f3f5}.email-card-subject{font-size:14px;font-weight:600;margin:14px 0 0;padding-bottom:14px;border-bottom:1px solid #ececef}.email-card-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:15px;padding-top:26px}.email-card-body.html p{margin:0 0 1.1em}.email-card-body.html{white-space:normal}.email-card-attachments{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #ececef}.email-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:16px;padding-top:12px;border-top:1px solid #ececef;font-size:13px;color:#6b6d74}.email-card-foot .message-error{margin:0}.email-card-actions{display:flex;gap:8px;margin-left:auto}.recipient-choices{display:flex;flex-direction:column;gap:8px;margin-top:14px}.recipient-choices button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border:1px solid var(--border);border-radius:6px;background:#fff}.recipient-choices button>span{display:flex;flex-direction:column}.recipient-choices button:hover,.recipient-choices button:focus-visible{border-color:#131416}.inbox-sms{padding:24px}.inbox-sms-hint{padding:18px;color:var(--muted);line-height:1.5}.inbox-empty-detail{display:flex;height:100%;min-height:300px;justify-content:center;align-items:center;color:#6b6d74}@media(max-width:1100px){.inbox-workspace{grid-template-columns:360px minmax(0,1fr)}.thread-reader-canvas{padding:20px 24px 32px}}@media(max-width:768px){.inbox-workspace{grid-template-columns:1fr;height:calc(100dvh - 61px)}.inbox-workspace.reading .inbox-sidebar,.inbox-workspace:not(.reading) .message-detail{display:none}.inbox-sidebar{border-right:0}.thread-reader-head .thread-back{display:inline-flex;padding:6px}.thread-reader-head{padding:10px 14px 12px;gap:8px 10px;flex-wrap:wrap}.thread-reader-title{flex:1 1 calc(100% - 96px)}.thread-reader-head .thread-mark-unread,.thread-reader-head .thread-send{flex:1 1 40%;justify-content:center}.thread-reader-canvas{padding:14px 12px 28px;gap:14px}.email-card-head{flex-wrap:wrap}.email-card-time{width:100%;padding-left:42px;font-size:13px}.inbox-title{padding:16px 16px 14px}.inbox-title h1{font-size:28px}.inbox-segments .tabs button{font-size:13px;min-height:36px}}.compose-modal{max-width:760px}.compose-modal>.modal-header{display:none}.compose-modal>.modal-body{padding:0}.compose{display:flex;flex-direction:column}.compose-to{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.compose-label{color:var(--muted);font-size:16px;font-weight:500;white-space:nowrap}.compose-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1;min-width:0}.compose-chip{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:4px;background:#f6f6f7;padding-left:10px;font-size:15px}.compose-chip button{border:0;border-left:1px solid var(--border);background:transparent;margin-left:8px;padding:5px 6px;display:flex}.compose-add-input{border:0;outline:0;font:inherit;min-width:180px;padding:6px 0}.compose-plus{width:34px;height:34px;border-radius:50%;border:0;background:#e8e9ec;display:flex;align-items:center;justify-content:center}.compose-cc-toggle{border:0;background:transparent;color:var(--muted);font-size:13px}.compose-close{border:0;background:transparent;display:flex;margin-left:auto}.compose-note,.compose-pad{padding:8px 20px 0}.compose-line{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--border)}.compose-line input,.compose-line select{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:16px;background:transparent}.rich-editor.compose-editor{border:0;border-radius:0;min-height:240px;padding:16px 20px;outline:0}.compose-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.compose-format,.compose-bar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px 16px}.compose-bar{border-top:1px solid var(--border);padding:10px 16px}.compose-format select{width:auto;border:0;background:transparent;font:inherit;font-size:15px;padding:6px 4px}.compose-icon{position:relative;border:0;background:transparent;width:36px;height:36px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;color:var(--text);cursor:pointer}.compose-icon:hover,.compose-icon.on{background:#ececef}.compose-color input,.compose-smart select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.compose-rule{width:1px;height:24px;background:var(--border);margin:0 6px}.compose-templates{border:0;background:transparent;font:inherit;font-size:16px;font-weight:500;display:inline-flex;align-items:center;gap:4px;padding:6px 8px}.compose-spacer{flex:1}.compose-send{position:relative;display:flex;background:#131416;border-radius:4px}.compose-send button{border:0;background:transparent;color:#fff;font:inherit;font-size:16px}.compose-send-main{padding:10px 22px}.compose-send-more{border-left:1px solid #ffffff40!important;padding:0 12px;display:flex;align-items:center}.compose-send-menu{position:absolute;right:0;bottom:calc(100% + 6px);min-width:170px;background:#fff;border:1px solid var(--border);border-radius:6px;box-shadow:0 8px 24px #17171a24;padding:6px;display:flex;flex-direction:column;z-index:5}.compose-send-menu button{color:var(--text);text-align:left;padding:8px 10px;border-radius:4px;font-size:14px}.compose-send-menu button:hover{background:#f1f1f3}@media(max-width:640px){.compose-to,.compose-line,.rich-editor.compose-editor{padding-left:14px;padding-right:14px}}.smart-chip{color:#215af5;background:#e8efff;border-radius:3px;padding:0 2px}.smart-chip.empty{color:#b42318;background:#fdecea}.compose-file-card{display:flex;align-items:center;gap:12px;border:1px solid #dddddd;border-radius:8px;padding:12px 16px}.compose-file-card>span{display:flex;flex-direction:column;gap:2px}@media(max-width:768px){.inbox-provider-tools{padding-bottom:calc(var(--tab-bar-h, 64px) + var(--tab-bar-gap, 10px) + 16px + env(safe-area-inset-bottom))}.inbox-title h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.inbox-title{display:none}.thread-reader-canvas{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.thread-reader:after{content:"";position:fixed;left:0;right:0;bottom:0;z-index:1;height:calc(72px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e5e8}.thread-reader-head .thread-mark-unread,.thread-reader-head .thread-send{position:fixed;z-index:4;bottom:calc(14px + env(safe-area-inset-bottom));height:44px}.thread-reader-head .thread-mark-unread{left:16px;width:calc(38% - 22px);border:1px solid #dcdce0}.thread-reader-head .thread-send{right:16px;width:calc(62% - 22px)}.thread-reader-head .thread-back{min-width:44px;min-height:44px;justify-content:center}.thread-reader-head .thread-reader-title{flex:1 1 0;min-width:0}.compose-to{align-items:flex-start}.compose-to .compose-label{line-height:44px}.modal-backdrop:has(>.compose-modal){padding:0;align-items:stretch}.modal.compose-modal{max-width:none;height:100dvh;max-height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top)}.compose-modal>.modal-body{flex:1;min-height:0;display:flex;flex-direction:column}.compose{flex:1;min-height:0}.compose-to{gap:8px;padding-top:10px;padding-bottom:10px}.compose-to>.avatar{display:none}.compose-close{align-self:flex-start;width:44px;height:44px;align-items:center;justify-content:center;margin-right:-10px}.compose-plus,.compose-cc-toggle{min-height:44px}.compose-plus{width:44px}.compose-add-input,.rich-editor.compose-editor{font-size:16px}.compose-add-input{min-width:0;flex:1 1 160px}.rich-editor.compose-editor{flex:1 1 auto;min-height:140px;max-height:none}.compose-format{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:4px 8px;border-top:1px solid var(--border)}.compose-format>*{flex-shrink:0}.compose-format select{font-size:16px;min-height:44px}.compose-icon{width:44px;height:44px}.compose-bar{position:sticky;bottom:0;z-index:2;background:#fff;gap:6px 0;padding:6px 8px calc(10px + env(safe-area-inset-bottom))}.compose-bar>.compose-rule,.compose-bar>.compose-spacer{display:none}.compose-bar>.compose-icon{flex:1 1 0;min-width:0}.compose-templates{min-height:44px;padding:6px 4px;font-size:15px}.compose-send{flex:1 0 100%}.compose-send-main{flex:1;min-height:48px}}.compose-phone-head,.compose-phone-only{display:none}@media(max-width:768px){.compose-phone-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px}.compose-round{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text)}.compose-phone-send{padding:0 16px;font-size:16px;font-weight:600;color:var(--accent)}.compose-phone-templates{display:inline-flex;align-items:center;gap:4px;min-height:44px;border:0;background:none;font-size:17px;font-weight:500;color:var(--text)}.compose-close,.compose-bar>.compose-templates,.compose-send-main{display:none!important}.compose-phone-only{display:inline-flex;align-items:center;justify-content:center}.compose-to{align-items:center;padding:4px 12px}.compose-to .compose-label,.compose-line .compose-label{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text)}.compose-to .compose-label{font-size:0}.compose-to .compose-label:before{content:"To";font-size:13px}.compose-chip{border:0;border-radius:999px;background:var(--surface-pressed);padding-left:12px}.compose-chip button{border-left:0}.compose-plus{margin-left:auto;border-radius:50%;color:var(--accent)}.compose-bar{flex-wrap:nowrap;align-items:center}.compose-send{flex:0 0 auto}.compose-send-more{min-width:44px;min-height:44px;border-radius:8px}.template-list .search-input{margin-bottom:8px}.template-list>button{min-height:56px}.thread-row{grid-template-columns:40px minmax(0,1fr);padding:12px 8px}.thread-row .avatar{width:40px;height:40px}.thread-row.unread .thread-row-time:after{content:"";display:inline-block;width:8px;height:8px;margin-left:6px;border-radius:50%;background:var(--accent);vertical-align:middle}.thread-row:active{background:var(--surface-pressed)}}.set-profile{display:none}@media(max-width:768px){.set-list{margin:0 -16px}.set-label{margin:0;padding:22px 16px 8px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.set-list ul{list-style:none;margin:0;padding:0;background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.set-list li+li{border-top:1px solid var(--border)}.set-row{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 16px;border:0;background:none;text-align:left;color:var(--text)}.set-row:active{background:var(--surface-pressed)}.set-row>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.set-row strong{font-size:16px;font-weight:500}.set-row small{font-size:13px;color:var(--muted)}.set-row>svg:last-child{color:var(--muted)}.set-row-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover}.set-foot{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 16px 8px}.set-logout{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid var(--text);border-radius:8px;background:#fff;font-size:16px;color:var(--text)}.set-foot small{color:var(--muted);font-size:12px}.set-sheet{position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;background:#fff;animation:set-up .28s cubic-bezier(.2,.8,.2,1)}@keyframes set-up{0%{transform:translateY(100%)}}.set-sheet-head{display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;border-bottom:1px solid var(--border);touch-action:none}.set-sheet-head h1{flex:1;margin:0;text-align:center;font-size:17px;font-weight:600}.set-round,.set-round-spacer,.set-save{flex:none;min-width:44px;height:44px}.set-round,.set-save{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text)}.set-save{padding:0 14px;font-size:16px;font-weight:600;color:var(--accent)}.set-sheet-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 16px calc(24px + env(safe-area-inset-bottom))}.set-sheet-body>.panel,.set-sheet-body>form.panel,.set-sheet-body>section.panel{border:0;padding:0;box-shadow:none;background:none}.set-sheet-body>.panel>div:first-child>h2,.set-sheet-body>.panel>h2:first-child{display:none}.set-sheet-body [data-sheet-save]{display:none}.set-sheet-body .form-grid{grid-template-columns:1fr}.set-sheet-body .field{position:relative;padding-top:8px}.set-sheet-body .field>label{position:absolute;top:0;left:10px;z-index:1;padding:0 4px;background:#fff;font-size:12px;font-weight:500;color:var(--muted);line-height:16px}.set-sheet-body .field .input,.set-sheet-body .field input:not([type=checkbox],[type=radio],[type=file],[type=color]),.set-sheet-body .field select{min-height:52px;border-radius:6px}.set-sheet-body .toggle-label{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:16px;min-height:56px;margin:0 -16px;padding:8px 16px;border-bottom:1px solid var(--border);font-size:16px}.set-profile{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--text-secondary)}.set-profile img{width:92px;height:92px;border-radius:50%;border:1px solid var(--border);object-fit:cover}}@font-face{font-family:Cormorant Garamond;src:url(/fonts/CormorantGaramond-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Figtree;src:url(/fonts/Figtree-Variable.woff2) format("woff2");font-weight:300 900;font-style:normal;font-display:swap}@font-face{font-family:Dancing Script;src:url(/fonts/DancingScript-Latin.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}:root{font-family:Figtree,Arial,sans-serif;color:#17171a;background:#f6f6f7;font-size:15px;--primary: #2e69e0;--accent: #4f81e5;--accent-hover: #214ca1;--text: #17171a;--text-secondary: #4e5058;--border: #e1e2e6;--stroke: #a8abb5;--muted: #6c6f7b;--canvas: #f6f6f7;--surface-hover: #f6f6f7;--surface-pressed: #edeef0;--danger: #cc3a30;--radius: 6px;--shadow-card: 0 1px 2px rgb(23 23 26 / 5%);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--primary);text-decoration:none;text-underline-offset:3px}@media(hover:hover){a:hover{color:var(--accent-hover);text-decoration:underline}}a,img{-webkit-touch-callout:none}.email-card-body a,.message-body a,.rich-editor a,.crm-preserve a,.history-message-body a,[contenteditable=true] a,.document-body a,.doc-content a{text-decoration:underline;-webkit-touch-callout:default}::selection{background:#dbe5ff;color:#10276a}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#b8c0cc;border:2px solid #f6f7f8;border-radius:8px}:focus-visible{outline:2px solid #8e6eeb;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.1;font-weight:700;letter-spacing:-.02em}h2{font-size:18px;line-height:1.25;font-weight:600}h3{font-size:16px;line-height:1.2;font-weight:600}p{line-height:1.55}small,.small{font-size:13px}.muted{color:var(--muted)}.full{grid-column:1/-1}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:18px}.grid-2,.grid-3,.form-grid,.detail-grid{display:grid;gap:20px}.grid-2,.form-grid,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:24px}.section-title{margin-bottom:16px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:26px}.page-header p{margin-top:8px;color:var(--muted);max-width:70ch}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--stroke);background:#fff;color:var(--text);border-radius:4px;min-height:36px;padding:6px 16px;line-height:1.2;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s}@media(hover:hover){.button:hover{background:var(--surface-hover);border-color:var(--text);color:var(--text);text-decoration:none}}.button.primary{background:#17171a;border-color:#17171a;color:#fff}@media(hover:hover){.button.primary:hover{background:#2f3035;border-color:#2f3035;color:#fff}}.button.danger{background:#cc3a30;color:#fff;border-color:#cc3a30}.button.ghost{border-color:transparent;background:transparent}@media(hover:hover){.button.ghost:hover{background:var(--surface-pressed)}}.button.small{min-height:30px;padding:5px 9px;font-size:13px}.input{width:100%;height:40px;padding:8px 12px;background:#fff;border:1px solid var(--stroke);border-radius:4px;color:var(--text);caret-color:var(--text);font-size:15px;transition:border-color .15s ease,box-shadow .15s ease}@media(hover:hover){.input:hover{border-color:var(--text)}}.input:focus{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text);outline:none}.input::placeholder{color:var(--muted)}.input[aria-invalid=true]{border-color:#b32232}.textarea{height:130px;resize:vertical;line-height:1.55}.select{padding-right:28px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:14px;font-weight:600}.field-hint{font-size:12px;color:var(--muted);line-height:1.5}.field-error{font-size:13px;color:#a31728;line-height:1.5}.search-input{position:relative;min-width:220px}.search-input svg{position:absolute;top:12px;left:12px;color:#58616b}.search-input .input{padding-left:38px}.modal-backdrop{position:fixed;inset:0;background:#13141680;display:flex;align-items:center;justify-content:center;z-index:100;padding:24px;animation:reveal .14s ease-out}.modal{background:#fff;border-radius:8px;box-shadow:0 16px 50px #0003;max-width:600px;width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column}.modal.wide{max-width:950px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:20px}.modal-body{padding:24px;overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--border)}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:55px;color:#58616b}.spin{animation:spin 1s linear infinite}.empty-state{text-align:center;padding:40px 24px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--muted);font-size:14px}.empty-state.compact{padding:24px 12px}.empty-state svg{color:var(--text-secondary);margin-bottom:4px}.empty-state h3{color:var(--text);font-size:15px}.empty-state p{max-width:45ch}.empty-state.card{background:#f6f6f7;border:1px solid var(--border);border-radius:14px;padding:32px 24px 28px;gap:10px}.empty-state .empty-art{width:160px;height:160px;object-fit:contain}.empty-state.compact .empty-art{width:96px;height:96px}.empty-state.card a,.empty-state.card button{color:#215af5;font-weight:500}.error-state{display:flex;align-items:center;gap:14px;background:#fff1f2;border:1px solid #f0c2c8;color:#a31728;border-radius:6px;padding:18px}.error-state div{flex:1}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:4px;font-size:12px;font-weight:600;line-height:1.25;background:#edf0f4;color:#475261;white-space:nowrap}.badge.success,.badge.green{background:#e2f2e9;color:#176641}.badge.warning,.badge.yellow{background:#fff0d4;color:#82530b}.badge.danger,.badge.red{background:#ffeaed;color:#a31728}.badge.blue,.badge.info{background:#e6edff;color:#1a48b4}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);overflow-x:auto;overflow-y:hidden;padding-inline:4px;margin-inline:-4px;margin-bottom:24px}.tabs button{border:0;background:transparent;padding:12px 0;white-space:nowrap;color:var(--text-secondary);font-weight:400;font-size:15px;border-bottom:3px solid transparent}@media(hover:hover){.tabs button:hover{color:var(--text)}}[role=tab]{transition:transform .15s ease,color .15s ease;transform-origin:center bottom}@media(hover:hover){[role=tab]:hover:not(:disabled){transform:scale(1.06)}}@media(prefers-reduced-motion:reduce){[role=tab],[role=tab]:hover{transition:none;transform:none}}.tabs button.active{color:var(--text);font-weight:600;border-bottom-color:var(--accent)}.tabs .tab-count{margin-left:7px;background:var(--surface-pressed);border-radius:4px;padding:2px 6px;font-size:12px}.table-scroll{overflow:auto;border:1px solid var(--border);border-radius:6px;background:#fff}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.data-table th{background:var(--canvas);color:var(--muted);font-weight:500;font-size:13px}.data-table th,.data-table td{padding:16px 18px;border-bottom:1px solid #e8ebf0;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}@media(hover:hover){.data-table .clickable:hover{background:var(--surface-hover);cursor:pointer}}.data-table td .actions{flex-wrap:nowrap}.table-scroll{position:relative}@media(max-width:760px){:is(.table-scroll .data-table,.data-table.stack-cards),:is(.table-scroll .data-table,.data-table.stack-cards) tbody{display:block}:is(.table-scroll .data-table,.data-table.stack-cards) thead{display:none}:is(.table-scroll .data-table,.data-table.stack-cards) tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:4px;padding:14px 16px;border-bottom:1px solid #e8ebf0}:is(.table-scroll .data-table,.data-table.stack-cards) tr:last-child{border-bottom:0}:is(.table-scroll .data-table,.data-table.stack-cards) tr.clickable:active{background:var(--surface-pressed)}:is(.table-scroll .data-table,.data-table.stack-cards) td{grid-column:1;display:flex;align-items:baseline;gap:10px;min-width:0;padding:0;border:0;font-size:14px;white-space:normal;overflow-wrap:anywhere}:is(.table-scroll .data-table,.data-table.stack-cards) td[data-label]:before{content:attr(data-label);flex:0 0 104px;color:var(--muted);font-size:13px}:is(.table-scroll .data-table,.data-table.stack-cards) td:first-child{font-size:16px;font-weight:600;align-items:center}:is(.table-scroll .data-table,.data-table.stack-cards) td:first-child:before{display:none}:is(.table-scroll .data-table,.data-table.stack-cards) td:not([data-label]):not(:first-child){grid-column:1 / -1;padding-top:4px}:is(.table-scroll .data-table,.data-table.stack-cards) td .actions{flex-wrap:wrap}:is(.table-scroll .data-table,.data-table.stack-cards) td:empty,:is(.table-scroll .data-table,.data-table.stack-cards) td[data-empty]{display:none}:is(.table-scroll .data-table,.data-table.stack-cards) td .button,:is(.table-scroll .data-table,.data-table.stack-cards) td button{min-height:44px;min-width:44px}}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:34px;height:34px;background:var(--surface-pressed);color:var(--text-secondary);font-size:12px;font-weight:600;flex:none}.toggle-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px}.toggle{appearance:none;display:inline-block;width:36px;height:20px;border-radius:16px;background:#aeb7c4;position:relative;flex:none;transition:background .15s}.toggle:after{content:"";position:absolute;width:16px;height:16px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}.toggle:checked{background:var(--primary)}.toggle:checked:after{left:18px}.stat{padding:20px 22px;border:1px solid var(--border);border-radius:6px;background:#fff;display:flex;flex-direction:column;gap:8px}.stat span{font-size:14px;color:var(--text-secondary)}.stat strong{font-size:34px;line-height:1.1;font-weight:400;font-variant-numeric:tabular-nums}.stat small{color:var(--muted)}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--border)}.list-row:last-child{border-bottom:0}.split-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.app-shell{display:flex;min-height:100dvh}.sidebar{background:#17171a;color:#e9ebef;width:56px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:40;padding:12px 0;overflow:hidden auto;overflow-x:hidden;scrollbar-width:none;transition:width .16s ease,box-shadow .16s ease}.drawer-close{display:none}.brand-mark{color:#fff;border:0;background:transparent;font-weight:800;font-size:18px;letter-spacing:-2px;padding:6px 0;width:40px;margin:0 8px 14px;text-align:center;text-decoration:none}.side-nav{width:100%;display:flex;flex-direction:column}.side-nav ul{list-style:none;margin:0;padding:0}.side-nav-group{display:flex;flex-direction:column;gap:2px}.side-nav-group+.side-nav-group{border-top:1px solid #2c2c31;margin:10px 0 0;padding-top:10px}.side-nav-row{display:flex;align-items:center;margin:0 8px;position:relative}.side-nav a,.side-nav-signout{color:#c9cbd1;display:flex;align-items:center;gap:12px;text-decoration:none;height:40px;width:100%;min-width:40px;padding:0 11px;border-radius:6px;border:0;background:transparent;font-size:15px;white-space:nowrap;overflow:hidden}.side-nav a svg,.side-nav-signout svg{flex:none}.side-nav a span,.side-nav-signout span,.side-nav-chevron{opacity:0;transition:opacity .12s ease}@media(hover:hover){.side-nav a:hover,.side-nav-signout:hover{background:#2a2a2f;color:#fff}}.side-nav a.active{background:#2f2f35;color:#fff;font-weight:650}.side-nav a:focus-visible,.side-nav-signout:focus-visible,.side-nav-chevron:focus-visible,.brand-mark:focus-visible{outline:2px solid #8aa7ff;outline-offset:-2px}.side-nav-chevron{position:absolute;right:4px;width:30px;height:30px;border:0;border-radius:5px;background:transparent;color:#c9cbd1;display:flex;align-items:center;justify-content:center;pointer-events:none}.side-nav-chevron:hover{background:#33333a;color:#fff}.side-nav-item.expanded .side-nav-chevron svg{transform:rotate(180deg)}.side-subnav{display:none;margin:2px 8px 4px}.side-subnav a{height:34px;padding-left:41px;font-size:14px}.sidebar-bottom{margin-top:auto;width:100%;padding:0 8px;gap:2px}.sidebar-bottom a,.sidebar-bottom .side-nav-signout{margin:0}@media(hover:hover)and (min-width:769px){.sidebar:hover,.sidebar:has(:focus-visible){width:234px;box-shadow:8px 0 24px #00000038;transition-delay:.06s}.sidebar:hover .side-nav a span,.sidebar:hover .side-nav-signout span,.sidebar:hover .side-nav-chevron,.sidebar:has(:focus-visible) .side-nav a span,.sidebar:has(:focus-visible) .side-nav-signout span,.sidebar:has(:focus-visible) .side-nav-chevron{opacity:1;pointer-events:auto}.sidebar:hover .side-subnav,.sidebar:has(:focus-visible) .side-subnav{display:block}}@media(prefers-reduced-motion:reduce){.sidebar,.side-nav a span,.side-nav-chevron{transition:none}}.app-main{margin-left:56px;width:calc(100% - 56px);min-width:0}.topbar{background:#fff;min-height:60px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 32px}.topbar-company{font-size:16px;font-weight:650}.topbar-right{display:flex;align-items:center;gap:14px}.workspace{max-width:1188px;margin:0 auto;padding:32px 24px}.toast-stack{position:fixed;bottom:24px;right:24px;z-index:200;display:flex;flex-direction:column;gap:10px;max-width:400px}.toast{background:#152136;color:#fff;padding:14px 18px;border-radius:6px;box-shadow:0 6px 24px #0003;display:flex;align-items:center;gap:14px;animation:reveal .15s ease-out}.toast.error{background:#912135}.toast button{background:none;border:0;color:#fff}.mobile-menu{display:none}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:linear-gradient(180deg,#00000026,#000000a6),#1b263b url(/brand/login-photo.webp) center / cover;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:12%;gap:24px}.auth-story h1{font-size:44px;max-width:14ch}.auth-story p{color:#e6e8ee;font-size:18px;max-width:40ch}.auth-form{display:flex;flex-direction:column;justify-content:center;padding:10%;gap:24px;max-width:640px;width:100%;margin:auto}.auth-form h1{font-size:28px}.auth-form .button{width:100%}.page-tabs{margin-bottom:24px}.prose{max-width:70ch;line-height:1.6}.prose p+p{margin-top:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#64748b}.notice{background:#edf3ff;border:1px solid #c9d9ff;padding:14px 18px;border-radius:6px;color:#23457e;font-size:14px;line-height:1.5}.danger-notice{background:#fff1f2;color:#a31728;border-color:#f0c2c8}hr{border:0;border-top:1px solid var(--border);margin:20px 0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes reveal{0%{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:1000px){.workspace{padding:24px}.topbar{padding:12px 24px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.split-layout{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:768px){.button{min-height:44px}.button.small{min-height:40px}.input,select.input{height:44px}.table-more{padding:12px 16px;display:flex;justify-content:center}.table-more .button{width:100%}.sidebar{transform:translate(-100%);width:234px;transition:transform .16s ease}.sidebar.open{transform:translate(0);box-shadow:10px 0 50px #0005}.side-nav a,.side-nav-signout{min-height:44px}.side-nav a span,.side-nav-signout span,.side-nav-chevron{opacity:1;pointer-events:auto}.side-subnav{display:block}.sidebar-bottom{margin-top:20px}.app-main{margin-left:0;width:100%}.drawer-close{position:absolute;top:calc(8px + env(safe-area-inset-top));right:8px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#e9ebef}.drawer-close:active{background:#2a2a2f}.mobile-menu{display:none}.workspace{padding:22px 16px}.topbar{padding:10px 16px;gap:10px}.topbar-right .user-name{display:none}.topbar-company{font-size:14px}.page-header{flex-direction:column;gap:18px}.page-header h1{font-size:26px}.grid-2,.grid-3,.form-grid,.detail-grid,.split-layout{grid-template-columns:1fr}.modal-backdrop{padding:10px}.modal{max-height:calc(100dvh - 20px)}.modal-body,.modal-header,.panel{padding:18px}.auth-page{grid-template-columns:1fr}.auth-story{display:none}.auth-form{padding:32px 24px}.toast-stack{right:16px;left:16px;bottom:16px}.data-table th,.data-table td{padding:13px}.toolbar .search-input{flex:1}.tabs{gap:20px}}.history-search{align-items:flex-end;flex-wrap:wrap}.history-search .field,.history-meta p,.history-pagination p{flex:1;min-width:min(240px,100%)}.history-table{max-height:560px}.history-table th,.history-table td{min-width:140px;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere}.history-table th:first-child{min-width:100px}.history-table thead th{position:sticky;top:0;background:var(--panel, #fff);z-index:1}.history-caption{text-align:left;padding:0 12px 12px;color:var(--muted);font-size:13px}.history-message-list{max-height:75vh;overflow-y:auto}.history-message{padding:20px 4px;border-top:1px solid var(--border)}.history-message-heading{align-items:baseline;justify-content:space-between}.history-message h3,.history-message p{margin:0}.history-message-body{white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch}.accent-action{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px 2px;color:var(--primary);font-size:14px;font-weight:500;text-decoration:none;border-radius:4px;cursor:pointer}@media(hover:hover){.accent-action:hover{color:var(--accent-hover);text-decoration:none}}.footer-link{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-size:15px;font-weight:600;text-decoration:none}.footer-link:hover{color:var(--text);text-decoration:none}.footer-link svg{transition:transform .15s ease}.footer-link:hover svg{transform:translate(2px)}.info-tip{position:relative;display:inline-flex;vertical-align:middle}.info-tip-button{border:0;background:transparent;color:var(--text-secondary);padding:2px;border-radius:50%;display:inline-flex;cursor:help}.info-tip-button:hover{color:var(--text)}.info-tip-body{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);z-index:30;width:max-content;max-width:280px;padding:10px 12px;border-radius:6px;background:#17171a;color:#fff;font-size:13px;font-weight:400;line-height:1.45;text-align:left;white-space:normal;box-shadow:0 8px 24px #17171a2e;visibility:hidden;opacity:0;transition:opacity .12s ease;pointer-events:none}.info-tip:hover .info-tip-body,.info-tip-button:focus-visible+.info-tip-body,.info-tip-body.open{visibility:visible;opacity:1}@media(max-width:768px){.info-tip-body{left:auto;right:-8px;transform:none}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;left:0}a.panel,a.list-row,a.panel h3{color:var(--text);text-decoration:none}.panel.list-row{padding:16px 20px;transition:border-color .12s ease}@media(hover:hover){a.panel:hover{border-color:var(--stroke);text-decoration:none;color:var(--text)}}.crm-name-cell{flex-wrap:nowrap}.crm-name-cell strong{white-space:nowrap}.crm-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-breadcrumb-plain{display:flex;align-items:center;gap:4px;margin-bottom:16px;font-size:15px;color:var(--text-secondary);min-width:0}.crm-breadcrumb-plain a{color:var(--text-secondary)}.crm-breadcrumb-plain a:hover{color:var(--text)}.crm-breadcrumb-plain [aria-current]{color:var(--text);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.public-art{width:160px;height:160px;object-fit:contain}.public-page{min-height:70vh;justify-content:center}.brand-mark img{display:block;width:36px;height:36px;margin:0 auto;border-radius:8px}img.avatar{border:1px solid var(--border);object-fit:cover;background:#fff}.topbar-logo{display:block;height:22px;width:auto}.tab-bar,.drawer-scrim,.fab,.topbar-title,.topbar-account,.topbar-slot,.page-sheet-backdrop,.page-sheet-header{display:none}.page-sheet-wrap,.page-sheet,.page-sheet-body{display:contents}@media(max-width:768px){:root{--tab-bar-h: 64px;--tab-bar-gap: 10px;--ios-ease: cubic-bezier(.32, .72, 0, 1)}.topbar{padding-top:calc(10px + env(safe-area-inset-top));padding-left:calc(16px + env(safe-area-inset-left));padding-right:calc(16px + env(safe-area-inset-right))}.sidebar{padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:calc(12px + env(safe-area-inset-bottom));padding-left:env(safe-area-inset-left);overscroll-behavior:contain}.app-main{overflow-x:clip}.drawer-scrim{display:block;position:fixed;inset:0;z-index:39;background:#13141666;animation:reveal .14s ease-out}.workspace{padding-bottom:calc(var(--tab-bar-h) + var(--tab-bar-gap) + 84px + env(safe-area-inset-bottom))}.toast-stack{max-width:none;bottom:calc(var(--tab-bar-h) + var(--tab-bar-gap) + 12px + env(safe-area-inset-bottom))}button,a,[role=button]{touch-action:manipulation}input:not([type=checkbox],[type=radio],[type=range]),select,textarea,.input,[contenteditable=true]{font-size:16px}.modal-backdrop{padding:env(safe-area-inset-top) 0 0;align-items:flex-end}.modal,.modal.wide{max-width:none;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);border-radius:14px 14px 0 0;animation:sheet-up .2s ease-out}.modal-body{overscroll-behavior:contain}.modal-footer{flex-wrap:wrap;padding:14px 18px calc(14px + env(safe-area-inset-bottom))}.modal-footer>*{min-height:44px}.modal:not(:has(.modal-footer)) .modal-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}}@keyframes sheet-up{0%{transform:translateY(24px);opacity:.6}}@media(prefers-reduced-motion:reduce){.modal,.drawer-scrim{animation:none}}.skeleton{display:grid;gap:16px;padding:8px 0 24px}.sk{display:block;border-radius:8px;background:linear-gradient(90deg,#eceef1,#f6f7f9,#eceef1 80%) 0 0 / 300% 100%;animation:sk-shimmer 1.3s ease-in-out infinite}.sk-head{padding:4px 0}.sk-card{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface, #fff)}.sk-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.sk-row{display:flex;align-items:center;gap:12px}.sk-thumb{flex:0 0 44px;height:44px;border-radius:10px}.sk-lines{flex:1;display:grid;gap:8px}.sk-cover{height:150px;border-radius:0 0 16px 16px}.sk-chips{display:flex;gap:8px}.sk-chip{height:30px;border-radius:999px}.sk-bars{display:flex;align-items:flex-end;gap:10px;height:140px}.sk-bars .sk{flex:1;border-radius:6px 6px 0 0}@keyframes sk-shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.sk{animation:none}}.sheet-grab{display:none}@media(max-width:768px){.modal-header{position:relative;touch-action:none}.sheet-grab{display:block;position:absolute;top:6px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:#c9cdd3}}.tools-page section+section{margin-top:24px}.caps-label{margin:0 4px 10px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.tool-tile{min-height:96px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--text);font:inherit;font-size:14px;text-align:center;text-decoration:none;cursor:pointer}.tool-tile:hover{text-decoration:none;color:var(--text)}.tool-tile:active{background:var(--surface-pressed)}.create-list{list-style:none;margin:0;padding:4px 0}.create-list+.create-list{border-top:1px solid var(--border)}.create-list button{width:100%;min-height:52px;display:flex;align-items:center;gap:16px;padding:0 4px;border:0;border-radius:8px;background:none;color:var(--text);font:inherit;font-size:17px;text-align:left}.create-list button:active{background:var(--surface-pressed)}@media(max-width:768px){.tab-bar{position:fixed;left:calc(16px + env(safe-area-inset-left));right:calc(16px + env(safe-area-inset-right));bottom:calc(var(--tab-bar-gap) + env(safe-area-inset-bottom));z-index:30;display:flex;gap:0;padding:4px;border-radius:34px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#ffffff9e;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border:.5px solid rgb(255 255 255 / .7);box-shadow:0 0 0 .5px #00000014,0 8px 28px #0000001f,inset 0 1px #fffc}.tab-bar a{flex:1;min-width:0;height:calc(var(--tab-bar-h) - 8px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:30px;color:var(--text);font-size:10.5px;font-weight:500;text-decoration:none;transition:background .2s ease}.tab-bar a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-bar a:hover{color:var(--text);text-decoration:none}.tab-bar a{position:relative;z-index:1;-webkit-tap-highlight-color:transparent}.tab-bar a.active{font-weight:650}.tab-lens{position:absolute;top:4px;left:4px;width:calc((100% - 8px)/5);height:calc(var(--tab-bar-h) - 8px);border-radius:30px;background:#ffffffbf;box-shadow:0 0 0 .5px #0000000f,0 2px 8px #00000014,inset 0 1px #fff;pointer-events:none;transition:transform .42s cubic-bezier(.34,1.45,.5,1),background .2s ease,box-shadow .2s ease}.tab-bar.dragging .tab-lens{background:#ffffff47;-webkit-backdrop-filter:blur(1.5px) saturate(190%) brightness(1.06);backdrop-filter:blur(1.5px) saturate(190%) brightness(1.06);box-shadow:0 0 0 .5px #ffffffe6,0 6px 22px #00000029,inset 0 1px 1px #fffffff2,inset 0 -1px 2px #0000000f;transition:transform .12s cubic-bezier(.2,.8,.3,1),background .2s ease,box-shadow .2s ease}@media(prefers-reduced-motion:reduce){.tab-lens{transition:none}}.tab-bar a.active svg{stroke-width:2.25}.fab{position:fixed;right:calc(18px + env(safe-area-inset-right));bottom:calc(var(--tab-bar-h) + var(--tab-bar-gap) + 16px + env(safe-area-inset-bottom));z-index:31;width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#141416;color:#fff;box-shadow:0 8px 24px #00000047}.fab:active{transform:scale(.94)}.toast-stack{bottom:calc(var(--tab-bar-h) + var(--tab-bar-gap) + 84px + env(safe-area-inset-bottom))}.topbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;border-bottom:0;background:var(--canvas)}.topbar>.row,.topbar-right{display:none}.topbar-title{grid-column:2;display:flex;justify-content:center;min-width:0;margin:0;font-size:18px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-slot:not(:empty){grid-column:3;display:flex}.topbar-slot:not(:empty)+.topbar-account{display:none}.topbar-account{grid-column:3;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--border)}.tool-grid{grid-template-columns:repeat(3,1fr)}.page-sheet-wrap{display:block}.page-sheet-backdrop{display:block;position:fixed;inset:0;z-index:44;background:#0006;animation:reveal .3s ease-out}.page-sheet{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;top:calc(env(safe-area-inset-top) + 10px);z-index:45;border-radius:14px 14px 0 0;background:var(--canvas);box-shadow:0 -8px 30px #0000001f;animation:page-sheet-up .3s var(--ios-ease)}.page-sheet-header{position:relative;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;padding:14px 16px 8px;touch-action:none}.page-sheet-header h2{margin:0;text-align:center;font-size:17px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.round-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fff;color:var(--text);box-shadow:0 0 0 1px var(--border)}.round-btn:active{background:var(--surface-pressed)}.page-sheet-actions{display:flex;justify-content:flex-end;min-width:44px}.sheet-pill{display:flex;height:44px;border:1px solid var(--border);border-radius:999px;background:#fff;box-shadow:0 2px 8px #0000000f}.sheet-pill a{display:inline-flex;align-items:center;justify-content:center}.sheet-pill a,.sheet-pill button{width:50px;border:0;background:none;color:var(--text)}.sheet-pill button[aria-pressed=true]{color:var(--accent)}.page-sheet-header:has(.sheet-pill){grid-template-columns:44px 1fr auto}.page-sheet-body{display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:clip;overscroll-behavior:contain;padding:8px 16px calc(28px + env(safe-area-inset-bottom))}}@keyframes page-sheet-up{0%{transform:translateY(100%)}}@media(prefers-reduced-motion:reduce){.page-sheet,.page-sheet-backdrop{animation:none}}.notif-prefs-intro{margin:0}.notif-pref-label{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.notif-pref-card{border:1px solid var(--border);border-radius:10px;overflow:hidden}.notif-pref-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:12px 14px;cursor:pointer}.notif-pref-row+.notif-pref-row{border-top:1px solid var(--border)}.notif-pref-row>span{display:grid;gap:2px}.notif-pref-row strong{font-weight:500;font-size:15px}.notif-pref-row small{color:var(--muted);font-size:13px}@media(max-width:768px){.notif-prefs.panel{background:var(--canvas);border:0;box-shadow:none;padding-left:0;padding-right:0}.notif-pref-card{background:var(--surface, #fff);border-radius:0;border-left:0;border-right:0;margin:0 -16px}.notif-pref-row{padding:14px 16px}.notif-pref-label{font-size:13px}.notif-prefs .toggle{width:52px;height:30px;border-radius:999px}.notif-prefs .toggle:after{width:24px;height:24px;top:3px;left:3px}.notif-prefs .toggle:checked{background:var(--text)}.notif-prefs .toggle:checked:after{left:25px}}@media(max-width:768px){.workspace .page-header h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.page-sheet-body .page-header:has(.actions:empty),.crm-projects>.page-header{display:none}}@media(max-width:768px){body:has(.thread-reader) .tab-bar,body:has(.thread-reader) .fab{display:none}}
