:root{color:#172033;font-synthesis:none;background:#f6f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,a{font:inherit}.auth-shell,.app-shell{min-height:100vh}.auth-shell{place-items:center;padding:32px 20px;display:grid}.welcome-card{background:#fff;border:1px solid #e3e7ef;border-radius:24px;width:min(100%,620px);padding:40px;box-shadow:0 18px 60px #23305014}.eyebrow{color:#5d6578;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px;font-size:14px;font-weight:700}h1{margin:0 0 16px;font-size:clamp(30px,6vw,48px);line-height:1.08}p{line-height:1.6}.actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.primary-link,.secondary-link{border-radius:12px;padding:12px 18px;font-weight:700;text-decoration:none}.primary-link{color:#fff;background:#151821}.secondary-link{color:#151821;background:#fff;border:1px solid #d9deea}.app-shell{padding:24px}.app-header{justify-content:space-between;align-items:center;max-width:980px;margin:0 auto 16px;display:flex}.app-nav{gap:8px;max-width:980px;margin:0 auto 36px;display:flex;overflow-x:auto}.app-nav a{color:#394257;border-radius:10px;flex:none;padding:9px 12px;font-weight:700;text-decoration:none}.app-nav a:hover,.app-nav a:focus-visible{color:#4f24d7;background:#f0ebff;outline:none}.signed-in-as{color:#5d6578;margin:0}.legal-links{flex-wrap:wrap;gap:10px 18px;margin-top:24px;display:flex}.legal-links a{color:#4f24d7;font-size:14px;font-weight:700}.public-footer{margin-top:32px}.legal-page{min-height:100vh;padding:48px 20px}.legal-card{background:#fff;border:1px solid #e3e7ef;border-radius:24px;width:min(100%,760px);margin:0 auto;padding:40px;box-shadow:0 18px 60px #23305014}.legal-card h2{margin-top:32px;font-size:22px}.threads-page,.google-sheets-page{width:min(100%,760px);margin:0 auto}.google-card{background:#fff;border:1px solid #e3e7ef;border-radius:20px;padding:34px;box-shadow:0 18px 60px #2330500f}.google-card--success{text-align:left;background:#fbfffc;border-color:#cfe8d6;padding:26px}.google-card--error{text-align:center;background:snow;border-color:#f1cccc}.google-card h2{margin:16px 0 8px}.google-card>p{color:#5d6578;margin:0}.google-read-only-notice{text-align:left;background:#f7f9fd;border:1px solid #dce5f4;border-radius:12px;max-width:560px;padding:12px 14px;color:#394257!important;margin:14px 0 0!important}.google-logo{color:#fff;background:#4285f4;border-radius:999px;place-items:center;width:64px;height:64px;margin:0 auto;font-size:30px;font-weight:800;display:grid}.google-source-details{text-align:left;background:#e0e5ee;border:1px solid #e0e5ee;border-radius:12px;gap:1px;width:min(100%,440px);margin:16px 0 0;display:grid;overflow:hidden}.google-source-details div{background:#fff;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px 14px;display:grid}.google-source-details dt{color:#5d6578}.google-source-details dd{overflow-wrap:anywhere;margin:0;font-weight:700}.google-selection-form{gap:10px;margin-top:24px;display:grid}.google-selection-form label{margin-top:8px;font-weight:700}.google-url-input{gap:8px;display:flex}.google-url-input input{color:#172033;min-width:0;min-height:46px;font:inherit;border:1px solid #cfd6e3;border-radius:12px;flex:1;padding:10px 12px}.google-selected-file{overflow-wrap:anywhere;color:#394257!important;margin:0!important}.google-selection-form select{color:#172033;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #cfd6e3;border-radius:12px;padding:10px 12px}.google-selection-form select:focus{outline-offset:1px;outline:2px solid #8a6cf0}.google-selection-form .threads-button{justify-self:center}.google-error{font-weight:600;color:#c53131!important}.google-reconnect-button{color:#4f24d7;cursor:pointer;background:0 0;border:0;margin:20px auto 0;padding:10px 12px;font-weight:700;display:block}.threads-page-header{margin-bottom:24px}.threads-page-header h1{margin-bottom:8px;font-size:clamp(28px,5vw,40px)}.threads-page-header p,.threads-card p{color:#5d6578;margin:0}.threads-card,.next-steps{background:#fff;border:1px solid #e3e7ef;border-radius:20px;box-shadow:0 18px 60px #2330500f}.threads-card{text-align:center;flex-direction:column;align-items:center;padding:42px;display:flex}.threads-card--success{text-align:left;background:#fbfffc;border-color:#cfe8d6;align-items:stretch;padding:28px}.threads-card--error{background:snow;border-color:#f1cccc}.threads-card h2{margin:18px 0 8px;font-size:clamp(24px,4vw,32px)}.connection-status{color:#237742;align-items:center;gap:10px;font-size:16px;display:flex}.connection-status .status-icon{width:28px;height:28px;font-size:16px}.threads-logo,.status-icon,.threads-mark{border-radius:999px;place-items:center;font-weight:800;display:grid}.threads-logo,.status-icon{width:64px;height:64px;font-size:32px}.threads-logo{color:#6438d9;background:#eee9ff}.status-icon--success{color:#fff;background:#2e9b55}.status-icon--error{color:#fff;background:#e14747}.threads-button{cursor:pointer;border:0;border-radius:12px;width:min(100%,420px);margin-top:28px;padding:13px 20px;font-weight:750}.threads-button--primary{color:#fff;background:linear-gradient(135deg,#4f24d7,#7537e6)}.threads-button:disabled{cursor:not-allowed;opacity:.58}.connected-account{text-align:left;background:#fff;border:1px solid #dfe4ec;border-radius:12px;align-items:center;gap:12px;width:min(100%,420px);margin-top:24px;padding:14px 18px;display:flex}.threads-card--success .connected-account,.threads-card--success .threads-button,.google-card--success .threads-button{width:100%;margin-top:16px}.threads-mark{color:#fff;background:#111;flex:none;width:34px;height:34px}.next-steps{margin-top:16px;padding:22px 24px}.next-steps h3{color:#4f24d7;margin:0 0 14px;font-size:15px}.next-steps ol{grid-template-columns:repeat(3,1fr);gap:18px;margin:0;padding-left:22px;display:grid}.next-steps li{color:#394257;padding-left:4px;line-height:1.45}.connection-loading{color:#5d6578;text-align:center;max-width:760px;margin:80px auto}.posts-page{width:min(100%,980px);margin:0 auto}.posts-page-header,.post-form-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.posts-page-header{margin-bottom:24px}.posts-page-header h1,.post-form-card h2,.posts-empty h2,.posts-list h2{margin:0}.posts-page-header p,.post-form-card p,.posts-empty p,.posts-list p{color:#5d6578}.posts-add-button,.posts-secondary-button,.posts-danger-button{cursor:pointer;border-radius:12px;font-weight:750}.posts-add-button{color:#fff;background:linear-gradient(135deg,#4f24d7,#7537e6);border:0;padding:13px 20px}.posts-add-button:disabled{cursor:not-allowed;opacity:.58}.posts-secondary-button{color:#394257;background:#fff;border:1px solid #d9deea;padding:10px 14px}.posts-danger-button{color:#a42e2e;background:snow;border:1px solid #dfb7b7;padding:10px 14px}.posts-secondary-button:disabled,.posts-danger-button:disabled{cursor:not-allowed;opacity:.5}.post-form-card,.posts-empty,.posts-list,.posts-success{background:#fff;border:1px solid #e3e7ef;border-radius:20px;box-shadow:0 18px 60px #2330500f}.post-form-card,.posts-empty,.posts-list{padding:28px}.post-form-card{margin-bottom:20px}.post-form-card form{gap:10px;margin-top:22px;display:grid}.post-form-card label{font-weight:700}.post-form-card textarea{resize:vertical;color:#172033;width:100%;font:inherit;border:1px solid #cfd6e3;border-radius:12px;padding:14px;line-height:1.5}.post-form-card textarea:focus{outline-offset:1px;outline:2px solid #8a6cf0}.post-form-meta{justify-content:space-between;align-items:center;gap:16px;min-height:26px;display:flex}.post-counter{color:#5d6578}.post-counter--error,.post-form-error{color:#c53131}.post-form-error{margin:0;font-weight:600}.posts-empty{text-align:center}.posts-empty .posts-add-button{margin-top:12px}.posts-list{padding:0;overflow:hidden}.posts-list h2{padding:22px 28px}.posts-list ol{margin:0;padding:0;list-style:none}.post-list-item{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#fff;border-top:1px solid #e8ebf1;min-width:0;transition:box-shadow .16s,opacity .16s;position:relative}.post-list-item--dragging{box-shadow:none;opacity:1;background:#f7f8fb}.post-list-item--dragging>*{visibility:hidden}.post-list-item--dragging:after{content:"";background:#f7f8fb;border:1px dashed #cbd1dc;border-radius:12px;position:absolute;inset:6px 10px}.post-list-item--overlay{opacity:1;pointer-events:none;will-change:transform;border:1px solid #dfe3ec;border-radius:16px;overflow:hidden;transform:translateZ(0);box-shadow:0 18px 42px #23305038}.post-list-main{background:#fff;grid-template-columns:52px minmax(0,1fr);align-items:stretch;display:grid}.post-drag-handle{color:#858da0;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:10px;place-self:center end;place-items:center;width:44px;min-height:44px;padding:0;display:grid}.post-drag-handle:focus-visible{color:#4f24d7;background:#f0ebff;outline:none}.post-drag-handle:focus:not(:focus-visible){color:#858da0;background:0 0;outline:none}.post-drag-handle:active,.post-drag-handle--preview{cursor:grabbing}.post-drag-handle:disabled{cursor:wait;opacity:.5}.post-drag-dots{font-size:25px;line-height:1}.post-list-trigger{color:#172033;cursor:pointer;text-align:left;background:#fff;border:0;grid-template-columns:42px minmax(0,1fr) 36px;align-items:start;gap:12px;width:100%;padding:18px 28px 10px 10px;display:grid}.post-list-trigger--preview{cursor:grabbing}.post-preview,.post-list-details p{overflow-wrap:anywhere}.post-actions{margin-top:16px}.post-action-buttons{flex-wrap:wrap;gap:8px;display:flex}.post-delete-confirmation{background:snow;border:1px solid #f0d2d2;border-radius:12px;padding:14px}.post-delete-confirmation p{color:#172033;margin:0 0 12px;font-weight:700}.post-preview{line-height:1.6}.post-list-details{padding:0 28px 12px 104px}.post-list-details p{color:#172033;margin:0}.post-position{color:#5d6578;font-weight:700}.post-list-chevron{color:#5d6578;text-align:center;place-items:center;min-width:32px;min-height:32px;font-size:20px;line-height:1.2;display:grid}.post-list-meta{color:#5d6578;justify-content:space-between;align-items:center;gap:12px;padding:0 28px 18px 104px;font-size:14px;display:flex}.post-source{overflow-wrap:anywhere;min-width:0}.post-status{color:#4f24d7;background:#f0ebff;border-radius:8px;width:fit-content;padding:6px 10px;font-weight:700}@media (hover:hover) and (pointer:fine){.post-drag-handle:hover{color:#4f24d7;background:#f0ebff}}@media (hover:none),(pointer:coarse){.post-drag-handle,.post-drag-handle:hover,.post-drag-handle:active,.post-drag-handle:focus:not(:focus-visible){color:#858da0;background:0 0}.post-drag-handle:focus-visible{color:#858da0;outline-offset:-4px;background:0 0;outline:2px solid #cbd1dc}}.posts-success{color:#237742;border-color:#cfe8d6;margin:0 0 20px;padding:14px 18px}.posts-action-error{color:#c53131;margin:0 0 20px;font-weight:600}.posts-loading{color:#5d6578;text-align:center}@media (width<=680px){.posts-page-header{flex-direction:column;align-items:flex-start}.post-form-heading{flex-direction:row;align-items:flex-start;gap:12px}.post-form-heading>div{min-width:0}.posts-secondary-button{flex:none;padding:8px 10px}.post-list-trigger{grid-template-columns:26px minmax(0,1fr) 36px;padding:14px 16px 8px 6px}.post-list-main{grid-template-columns:48px minmax(0,1fr)}.post-preview:not(.post-preview--expanded){-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.post-list-details{padding:0 16px 12px 80px}.post-list-meta{padding:0 16px 14px 80px}}@media (width<=560px){.welcome-card{border-radius:18px;padding:28px 22px}.app-shell{width:100%;padding:14px;overflow-x:clip}.app-header{align-items:center;gap:12px;width:100%;margin-bottom:14px}.app-header>div{min-width:0}.app-header .eyebrow{margin-bottom:4px;font-size:12px}.app-nav{background:#fff;border:1px solid #e3e7ef;border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;margin-bottom:24px;padding:4px;display:grid;overflow:visible}.app-nav a{overflow-wrap:anywhere;text-align:center;min-width:0;padding:9px 4px;font-size:13px}.signed-in-as{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.posts-page,.posts-page-header>div{min-width:0}.posts-page-header{gap:14px;margin-bottom:18px}.posts-page-header h1{margin-bottom:8px;font-size:32px}.posts-page-header p{margin:0;line-height:1.45}.posts-page-header .posts-add-button{width:100%;min-height:44px}.threads-card{padding:32px 20px}.threads-card--success{padding:20px}.google-card{padding:28px 20px}.google-card--success{padding:20px}.next-steps ol{grid-template-columns:1fr}.post-form-card,.posts-empty{padding:22px 18px}.posts-list{border-radius:16px;width:100%}.posts-list h2{padding:16px;font-size:20px}.post-list-main{grid-template-columns:44px minmax(0,1fr)}.post-drag-handle{justify-self:center;width:44px;height:44px;min-height:44px}.post-drag-dots{font-size:22px}.post-list-trigger{grid-template-columns:20px minmax(0,1fr) 36px;gap:8px;min-width:0;padding:10px 12px 4px 2px}.post-position{font-size:13px}.post-preview{font-size:14px;line-height:1.4}.post-list-chevron{font-size:18px}.post-form-card{padding:18px 18px calc(18px + env(safe-area-inset-bottom))}.post-form-heading{gap:10px}.post-form-card h2{font-size:22px;line-height:1.18}.post-form-card .post-form-heading p{margin:4px 0 0;font-size:14px;line-height:1.4}.post-form-card form{gap:8px;margin-top:14px}.post-form-card textarea{height:156px;min-height:148px;padding:12px}.post-form-meta{gap:10px;min-height:22px}.post-form-card form>.posts-add-button{min-height:44px;margin-top:4px}.legal-page{padding:20px 14px calc(20px + env(safe-area-inset-bottom));overflow-x:clip}.legal-card{border-radius:18px;padding:24px 20px}.legal-card h1{overflow-wrap:anywhere;font-size:clamp(27px,9vw,34px)}.legal-card h2{margin-top:24px;font-size:20px}.public-footer{margin-top:24px}.post-list-details{padding:4px 12px 12px 66px;font-size:14px}.post-actions{margin-top:12px}.post-list-meta{gap:8px;min-width:0;padding:0 12px 10px 66px;font-size:12px}.post-source{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.post-status{white-space:nowrap;flex:none;padding:3px 7px;font-size:12px}}
