:root{font-family:Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#181b20;background:#fff;font-synthesis:none;--ink:#181b20;--body:#555d68;--muted:#626c79;--line-subtle:#e9ebef;--line:#d9dde3;--line-strong:#aeb5c0;--surface:#f5f6f7;--green:#16704f;--warning:#8f5400;--red:#b82f35;--focus:#181b20;--radius:8px}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{min-width:320px;background:#fff;color:var(--ink);font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:var(--ink);text-underline-offset:3px}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{word-break:keep-all}h2{font-size:18px;line-height:1.4;margin-bottom:12px}h3{font-size:14px;line-height:1.5;margin-bottom:4px}small{font-size:12px}svg{flex-shrink:0}time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}input,textarea,select{width:100%;min-width:0;border:1px solid var(--line-strong);border-radius:var(--radius);padding:11px 12px;background:#fff;color:var(--ink)}input,select{min-height:48px}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:var(--muted)}input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--ink)}label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--ink)}label small{font-weight:400;color:var(--muted)}fieldset{border:0;padding:0;margin:0}legend{font-weight:600;margin-bottom:8px}details{border-top:1px solid var(--line-subtle);padding-top:12px}summary{cursor:pointer;min-height:44px;align-content:center;font-size:13px;font-weight:600}details .form-grid{margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;left:16px;top:-100px;background:var(--ink);color:#fff;padding:12px}.skip-link:focus{top:12px}.muted{color:var(--muted)}.danger-text{color:var(--red)!important}.footnote{color:var(--muted);font-size:12px;line-height:1.65;margin:12px 0}.product-shell{height:100dvh;display:grid;grid-template-rows:72px minmax(0,1fr);background:#fff}.product-header{z-index:10;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:0 28px;border-bottom:1px solid var(--line-subtle);background:#fff}.brand-button{justify-self:start;min-height:44px;border:0;border-radius:8px;padding:0;background:transparent}.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-decoration:none}.brand-symbol,.mark{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--ink);border-radius:7px;overflow:hidden}.brand>span:last-child{display:grid;gap:0;text-align:left}.brand b{font-size:15px;font-weight:700;letter-spacing:-.015em}.brand b em{font-style:normal;font-weight:500}.brand small{color:var(--muted);font-size:10px}.brand-lockup{width:113px;height:28px}.brand-service{border-left:1px solid var(--line);padding-left:12px}.brand-service b{font-size:15px}.desktop-nav{height:100%;display:flex;gap:24px}.desktop-nav button{position:relative;min-height:44px;border:0;padding:0;background:transparent;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.desktop-nav button.active{color:var(--ink);font-weight:700}.desktop-nav button.active:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--ink)}.mode-status{justify-self:end;min-height:44px;display:flex;align-items:center;gap:7px;border:0;border-radius:8px;padding:0 8px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.mode-status:hover,.brand-button:hover{background:var(--surface)}.app-main{min-height:0;overflow-y:auto;outline:none}.page{width:min(100%,960px);margin:0 auto;padding:48px 28px 80px}.narrow-page{width:min(100%,760px)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading h1{margin:0;font-size:30px;font-weight:750;letter-spacing:-.01em;line-height:1.28}.page-heading p{color:var(--muted);margin:12px 0 0;font-size:14px;line-height:1.6;word-break:keep-all}.page-heading>button{flex-shrink:0}.section{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.first-section{margin-top:24px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.section-title h2,.section-title p{margin-bottom:0}.section-title p{margin-top:5px;font-size:13px}.primary-button,.secondary-button,.danger-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius);padding:10px 18px;text-align:center;text-decoration:none;font-size:13px;font-weight:700;line-height:1.4}.primary-button{border:1px solid var(--ink);background:var(--ink);color:#fff}.primary-button:hover:not(:disabled){background:#000}.secondary-button{border:1px solid var(--line-strong);background:#fff}.secondary-button:hover:not(:disabled){background:var(--surface);border-color:var(--ink)}.danger-button{border:1px solid var(--red);background:var(--red);color:#fff}.compact{min-height:44px}.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;padding:8px;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}.text-button:hover:not(:disabled){text-decoration:underline}.icon-button{min-width:44px;min-height:44px;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;padding:8px}.icon-button:hover{background:var(--surface)}.button-row{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.form-stack{display:grid;gap:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.notice{margin:16px 0;border-left:3px solid var(--green);padding:12px 16px;background:var(--surface);color:var(--body);font-size:13px;line-height:1.65;overflow-wrap:anywhere}.notice p{margin:6px 0 0}.notice.error{border-color:var(--red);color:var(--red)}.page-notice{max-width:960px;margin:auto;padding:0 28px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px;border-bottom:1px solid var(--line-subtle);text-align:center;padding:32px 24px}.empty-state b{font-size:16px}.empty-state p{max-width:390px;color:var(--muted);font-size:13px;margin:0;word-break:keep-all}.empty-state button{margin-top:12px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:100px;color:var(--muted);font-size:13px}.spinner{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--ink);border-radius:100%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.segmented{display:inline-flex;gap:4px;padding:4px;background:var(--surface);border-radius:10px}.segmented button{min-height:40px;border:1px solid transparent;border-radius:7px;background:transparent;padding:8px 16px;color:var(--muted);font-size:13px;font-weight:600}.segmented button.active{background:#fff;color:var(--ink);border-color:var(--line)}.search-input{min-height:64px;display:grid;grid-template-columns:20px minmax(0,1fr)48px;gap:12px;align-items:center;border:1.5px solid var(--line-strong);border-radius:10px;padding:6px 7px 6px 18px}.search-input:focus-within{border-color:var(--ink)}.search-input input{border:0;background:transparent;padding:8px 0;font-size:16px;outline:0}.search-input .primary-button{padding:8px}.search-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}.search-filters{border-bottom:1px solid var(--line);padding-bottom:8px}.search-filters summary{color:var(--muted)}.answer{margin:28px 0 16px;padding:24px 0;border-top:2px solid var(--ink);border-bottom:1px solid var(--line)}.answer h2{font-size:16px}.answer p{white-space:pre-wrap;line-height:1.8}.answer small{color:var(--muted)}.result-count{font-size:12px;color:var(--muted);margin:24px 0 0}.result-list{margin-top:8px}.result-row{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr)16px;gap:16px;align-items:center;border:0;border-bottom:1px solid var(--line-subtle);background:#fff;padding:20px 8px;text-align:left}.result-row:hover{background:var(--surface)}.result-kind{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted)}.result-kind small{font-size:10px}.result-content{min-width:0}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.result-heading strong{font-size:14px}.result-heading time{flex-shrink:0}.result-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.65;color:var(--body);font-size:13px}.result-meta{display:block;color:var(--muted);font-size:11px;margin-top:6px}.result-row>svg{color:var(--muted)}.reply-context{margin:0 0 24px;border-left:3px solid var(--line-strong);padding:10px 16px;background:var(--surface)}.reply-context span{color:var(--muted);font-size:12px}.reply-context p{margin:6px 0 0;white-space:pre-wrap;max-height:130px;overflow:auto;font-size:13px}.send-row,.rule-row,.execution-row{padding:20px 0;border-bottom:1px solid var(--line-subtle)}.send-row>p{white-space:pre-wrap;margin:8px 0 10px;font-size:13px}.send-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.send-row>small,.rule-row>small{color:var(--muted)}.status{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:600;white-space:nowrap;background:var(--surface);color:var(--body)}.status-sent,.status-delivered,.status-approved{background:#eef7f2;color:var(--green)}.status-failed{background:#fdf0f0;color:var(--red)}.status-pending_approval,.status-simulated{background:#fff5e6;color:var(--warning)}.approval-instruction{padding:40px 0}.approval-instruction h2{margin-top:20px}.approval-instruction p{color:var(--muted)}.setup-section{border-top:1px solid var(--ink);padding-top:24px}.steps{list-style:none;padding:0;counter-reset:step;margin:24px 0}.steps li{counter-increment:step;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;margin:18px 0}.steps li:before{content:counter(step);grid-row:span 2;border:1px solid var(--line);border-radius:100%;width:28px;height:28px;display:grid;place-items:center;font-size:12px;font-weight:700}.steps b{font-size:14px}.steps span{color:var(--muted);font-size:13px}.pairing{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border:1px solid var(--line-strong);border-radius:10px}.pairing>div{display:grid;gap:4px}.pairing span,.pairing small{font-size:12px;color:var(--muted)}.pairing-code{font-size:32px;letter-spacing:.12em;font-variant-numeric:tabular-nums}.device-row{padding:20px 0;border-bottom:1px solid var(--line-subtle)}.device-title{display:flex;align-items:center;gap:12px}.device-title>div{flex:1}.device-title p{font-size:12px;color:var(--muted);margin:0}.metadata{display:grid;gap:10px;margin:20px 0 0;font-size:12px}.metadata>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px}.metadata dt{color:var(--muted)}.metadata dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.completion-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px}.completion-row>span{display:flex;align-items:center;gap:8px;font-size:13px}.completion-row svg{color:var(--green)}.rule-editor{border:1px solid var(--line);border-radius:10px;padding:24px}.rule-editor .form-stack{margin-top:24px}.rule-row .result-heading{align-items:flex-start}.rule-row h3{margin:0}.rule-row p{font-size:12px;color:var(--muted);margin:4px 0}.rule-row .button-row{margin-top:8px;gap:4px}.simulation{border-top:2px solid var(--ink);border-bottom:1px solid var(--line);margin-top:28px;padding:24px 0}.simulation-example{padding:16px 0;border-bottom:1px solid var(--line-subtle)}.simulation-example>div,.execution-row>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.simulation-example p{margin:8px 0 0;white-space:pre-wrap;font-size:13px}.execution-row p{font-size:12px;color:var(--muted);margin:6px 0}.execution-row blockquote{margin:8px 0 0;padding:12px;background:var(--surface);white-space:pre-wrap;font-size:13px}.settings-tabs{margin-bottom:8px}.privacy-proof{display:flex;gap:18px;align-items:flex-start;padding:28px 0;border-bottom:1px solid var(--line)}.privacy-proof p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}.settings-list{margin:0}.settings-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;border-bottom:1px solid var(--line-subtle);font-size:13px}.settings-list dt{font-weight:600}.settings-list dd{margin:0;color:var(--muted);text-align:right}.unlock-panel{max-width:480px;margin:32px auto;padding:32px;border:1px solid var(--line);border-radius:10px}.unlock-panel h2{margin:0;font-size:20px}.unlock-panel>p{font-size:13px;color:var(--muted);margin:0}.unlock-panel>small{color:var(--muted);font-size:12px}.unlock-panel .notice{margin:0}.scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.scope-list label{min-height:44px;display:flex;align-items:center;gap:10px;font-weight:400}.copy-field{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:4px 8px 4px 12px}.copy-field code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.token-reveal{padding:24px;border:1px solid var(--line-strong);border-radius:10px;margin-top:24px}.token-reveal textarea{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}.token-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line-subtle)}.token-row>div{display:grid;gap:4px}.token-row b{font-size:13px}.token-row small{color:var(--muted)}.entry-page{min-height:100dvh;display:grid;grid-template-rows:88px 1fr}.entry-page>header{width:min(100% - 48px,1120px);display:flex;align-items:center;margin:auto}.entry-page>main{width:min(100% - 40px,440px);margin:64px auto 80px}.entry-page .page-heading{margin-bottom:28px}.entry-page .page-heading h1{font-size:36px;line-height:1.3;word-break:keep-all}.entry-proof{display:flex;align-items:center;gap:12px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}.entry-proof p{display:grid;gap:4px;margin:0;flex:1}.entry-proof b{font-size:13px}.entry-proof span{font-size:12px;color:var(--muted)}.entry-proof a{font-size:12px}.auth-actions{display:grid;gap:20px}.auth-actions .form-stack{gap:12px}.entry-compatibility{color:var(--muted);font-size:12px;line-height:1.75;margin:24px 0 0}.legal-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px;font-size:12px}.legal-links a{color:var(--muted)}dialog{color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:0;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px)}dialog::backdrop{background:#181b205c}.confirm-dialog{width:420px;padding:28px}.confirm-dialog h2{font-size:20px}.confirm-dialog p{color:var(--body);font-size:14px}.conversation-dialog{width:680px}.conversation-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.conversation-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--line)}.conversation-dialog h2{margin:0}.conversation-dialog header p{margin:4px 0 0;font-size:12px;color:var(--muted)}.conversation-body{padding:24px;overflow:auto;max-height:65dvh}.conversation-dialog>footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 24px}.message-bubble{max-width:88%;padding:16px;margin-bottom:16px;border:1px solid var(--line);border-radius:10px}.message-bubble.outgoing{margin-left:auto;background:var(--surface)}.message-bubble[data-selected=true]{border-color:var(--ink)}.message-bubble>div{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted)}.message-bubble time{font-size:11px}.message-bubble p{margin:10px 0 4px;white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.evidence-id{font-size:10px;color:var(--muted)}.legal-page{width:min(100% - 40px,760px);margin:0 auto;padding:48px 0 80px;line-height:1.75}.legal-brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:56px;text-decoration:none}.legal-page h1{font-size:30px;line-height:1.3}.legal-page h2{margin-top:32px;border-top:1px solid var(--line);padding-top:20px}.legal-page p,.legal-page li{color:var(--body);font-size:14px}.legal-page .eyebrow{display:none}.legal-warning{border-left:3px solid var(--warning);padding:12px 16px;background:var(--surface)}.legal-page .delete-control{max-width:360px;margin:24px 0 16px}.mobile-nav{display:none}@media(max-width:1100px){.product-header{gap:18px;padding:0 20px}.desktop-nav{gap:18px}.mode-status{font-size:11px}.brand small{display:none}}@media(max-width:900px){.product-shell{grid-template-rows:64px minmax(0,1fr) calc(66px + env(safe-area-inset-bottom))}.product-header{grid-template-columns:minmax(0,1fr) auto;padding:0 18px;gap:8px}.desktop-nav{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;border-top:1px solid var(--line);background:#fff;padding:4px 4px env(safe-area-inset-bottom)}.mobile-nav button{min-width:0;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:600}.mobile-nav button.active{color:var(--ink);background:var(--surface)}.page{padding:32px 24px 56px}.page-heading h1{font-size:28px}}@media(max-width:520px){.page{padding:28px 18px 44px}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:26px}.page-heading p{font-size:13px}.page-heading>.primary-button{width:100%}.form-grid{grid-template-columns:1fr;gap:16px}.result-row{grid-template-columns:30px minmax(0,1fr)12px;gap:12px;padding:18px 2px}.result-heading{align-items:flex-start}.result-content .result-heading{flex-direction:column;gap:2px}.result-heading time{font-size:11px}.search-input{min-height:60px;padding-left:12px;gap:8px}.search-input input{font-size:14px}.search-input>svg{width:18px}.segmented button{padding:8px 13px}.metadata>div{grid-template-columns:100px minmax(0,1fr);gap:12px}.section-title{align-items:flex-start}.section-title .primary-button{font-size:12px;padding:10px 12px;white-space:nowrap}.pairing{padding:18px 16px;gap:12px}.pairing-code{font-size:28px;letter-spacing:.08em}.pairing .secondary-button{padding:8px 12px}.pairing .secondary-button svg{display:none}.completion-row{align-items:flex-start;flex-direction:column;gap:16px}.completion-row .primary-button{width:100%}.rule-editor{padding:18px 16px}.rule-row .result-heading{flex-direction:column}.rule-row .button-row{justify-content:flex-start}.simulation-example>div,.execution-row>div{flex-direction:column;gap:3px}.unlock-panel{border:0;border-top:1px solid var(--line);border-radius:0;padding:28px 0}.privacy-proof{gap:12px}.privacy-proof>svg{width:24px}.privacy-proof h2{font-size:17px}.settings-list>div{font-size:12px;gap:16px}.scope-list{grid-template-columns:1fr}.token-reveal{padding:20px 16px}.entry-page{grid-template-rows:64px 1fr}.entry-page>header{width:calc(100% - 36px)}.entry-page>main{width:calc(100% - 36px);margin:56px auto}.entry-page .page-heading h1{font-size:32px;max-width:330px}.entry-proof{gap:10px}.entry-proof b{font-size:12px}.entry-proof span{font-size:11px}.brand-lockup{width:100px;height:25px}.brand-service{padding-left:8px}.brand-service b{font-size:13px}.mode-status{font-size:10px;padding:0}.mode-status svg{width:13px}.confirm-dialog{padding:24px}.confirm-dialog .button-row>*{width:100%}.conversation-dialog{max-width:100%;width:100%;max-height:92dvh;margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.conversation-dialog>header{padding:18px}.conversation-body{padding:18px;max-height:60dvh}.conversation-dialog>footer{padding:14px 18px}.conversation-dialog>footer button{font-size:12px;padding:10px 12px}.message-bubble{max-width:94%;padding:13px}.message-bubble>div{flex-direction:column;gap:3px}.legal-page{width:calc(100% - 36px)}.legal-page h1{font-size:26px}}.config-example{max-width:100%;overflow:auto;background:var(--surface);padding:16px;border-radius:8px;font-size:12px;line-height:1.7}.setup-list{padding-left:22px;font-size:13px;color:var(--body)}.setup-list li{padding:5px 0}.bridge-setup{margin-top:20px}.form-stack details>.secondary-button{margin-top:12px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
