@import url("./fonts/montserrat.css");
@import url("./response-inbox.css");
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#28313c;background:#f6f7fa;font-synthesis:none;font-size:14px;line-height:1.5;--accent:#6757df;--accent-soft:#eeebfc;--border:#e3e6ee;--muted:#78818e;--ink:#26313d}
*{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(--accent);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #a59afa;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#8b7ee9;box-shadow:0 0 0 3px #6757df17}h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:22px;letter-spacing:-.55px;font-weight:650}h3{font-size:16px;font-weight:650}small{font-size:12px;color:var(--muted)}button{transition:background .15s,border-color .15s,transform .15s}input,textarea,select{max-width:100%}textarea{resize:vertical}hr{border:0;border-top:1px solid var(--border);margin:22px 0}.muted,.subtitle,.empty-description{color:var(--muted)}.eyebrow,.section-label{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);font-weight:700}.hidden,[hidden]{display:none!important}
.app-header{height:72px;padding:0 32px;display:flex;align-items:center;gap:24px;background:#243139;color:#fff;border-bottom:1px solid #36454c}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:650;letter-spacing:-.5px;color:white}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#b9afff;color:#302365;font-weight:800;font-size:21px}.header-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.local-badge{font-size:11px;padding:5px 9px;border-radius:5px;border:1px solid #4e6068;color:#d2ddd8;text-transform:uppercase;letter-spacing:1px}.app-header .button.ghost{color:#d8dfe3}.app-header .button.ghost:hover{background:#ffffff14}.app-header small{color:#b3bec5}
.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);font-weight:600;font-size:12px;line-height:1.4;padding:10px 15px;min-height:38px;text-decoration:none;white-space:nowrap}.button:hover,.icon-button:hover{background:#f3f2f8;border-color:#c8c4d9;text-decoration:none}.button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 2px 3px #38279c14}.button.primary:hover{background:#5544ca}.button.secondary{background:#fff}.button.ghost{background:transparent;border-color:transparent}.button.ghost:hover{background:#eeeef5}.button.danger,.icon-button.danger{color:#b9424a}.button.danger:hover{background:#fff1f2;border-color:#edc8cd}.icon-button{padding:5px 9px;min-width:30px;min-height:30px;font-weight:500}.button.small{padding:6px 11px;min-height:30px}.button-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dashboard,.dashboard-page{max-width:1240px;margin:0 auto;padding:42px 40px 60px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.dashboard-header h1{margin-bottom:9px}.dashboard-header p{margin-bottom:0;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:32px}.stat-card{background:white;border:1px solid var(--border);border-radius:12px;padding:22px 25px;display:flex;flex-direction:column;gap:5px}.stat-card strong{font-size:29px;line-height:1.2;font-weight:650;letter-spacing:-.8px}.stat-card span,.stat-card p{color:var(--muted);margin:0;font-size:12px}.forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(295px,1fr));gap:22px}.form-card{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;transition:box-shadow .2s,transform .2s}.form-card:hover{box-shadow:0 12px 25px #28313c0b;transform:translateY(-2px)}.form-card-preview{height:160px;background:#eeedf6;padding:24px 45px;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.mini-form{background:#fff;border-radius:6px;padding:20px;width:100%;max-width:230px;box-shadow:0 5px 20px #4141500a}.mini-line{height:5px;background:#dcd9ed;width:55%;border-radius:3px;margin:0 0 10px}.mini-field{height:14px;border:1px solid #eceaf3;border-radius:3px;background:#faf9fc;margin-bottom:9px}.mini-button{background:#b8b0ee;height:12px;width:40%;border-radius:3px}.form-card-body{padding:23px}.form-card h3{font-size:17px;margin-bottom:10px}.form-card p{font-size:12px;color:var(--muted);margin-bottom:17px}.form-card-meta,.form-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.form-card-footer{padding:0 23px 22px}.status-badge{display:inline-flex;border-radius:5px;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:700;padding:4px 8px;background:#f1f1f5;color:#7d7b88}.status-badge.published,.status-badge.live{background:#e5f4ec;color:#2d7b55}.status-badge.draft{background:#f1effb;color:#7b6bb0}.empty-state{padding:55px 25px;text-align:center;color:var(--muted);border:1px dashed #d6dbe5;border-radius:12px;background:#ffffff80}.empty-state h2,.empty-state h3{color:#424b5c}.empty-state p{max-width:430px;margin:0 auto 18px}
.workspace{padding:0 26px 32px;max-width:1800px;margin:auto}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 4px 20px}.workspace-heading h1{font-size:23px;letter-spacing:-.6px;margin:4px 0}.workspace-heading p{margin:0;color:var(--muted);font-size:12px}.workspace-title{display:flex;align-items:center;gap:12px}.workspace-actions{display:flex;align-items:center;gap:8px}.save-state{color:var(--muted);font-size:11px;padding-right:10px}.save-state.dirty{color:#9a7321}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--border);margin-bottom:23px;padding:0 4px}.tabs button{border:none;background:none;color:#88909b;font-size:12px;font-weight:650;padding:11px 2px 14px;position:relative}.tabs button.active{color:var(--accent)}.tabs button.active:after{position:absolute;content:"";height:3px;background:var(--accent);left:0;right:0;bottom:-1px;border-radius:3px}.editor-grid{display:grid;grid-template-columns:208px minmax(330px,1fr) 282px;gap:20px;align-items:start}.palette-panel,.inspector-panel{background:#fff;border:1px solid var(--border);border-radius:11px;padding:19px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto}.palette-panel h2,.inspector-panel h2{font-size:14px;margin-bottom:20px;letter-spacing:0}.palette-panel h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#939aa5;margin:23px 0 12px}.palette-list{display:grid;gap:7px}.palette-item{display:flex;gap:11px;align-items:center;text-align:left;background:#fff;border:1px solid #e8eaf1;border-radius:7px;padding:10px 11px;color:#495564;font-size:12px;width:100%;min-height:40px}.palette-item:hover{border-color:#a497ef;background:#f7f5ff;color:var(--accent)}.palette-icon{width:23px;height:23px;border-radius:5px;background:#f2f1f8;display:grid;place-items:center;font-size:13px;color:#8577cd}.palette-help{font-size:11px;line-height:1.6;color:#949ba5;margin:20px 0 0}.canvas-panel{min-width:0}.canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;color:#8a909b;font-size:11px}.form-canvas{background:radial-gradient(#d6d8e8 .8px,transparent .8px) 0 0/14px 14px;padding:24px 24px 32px;min-height:550px;border:1px solid var(--border);border-radius:11px}.page-card{border:1px solid #dedfe9;border-radius:9px;background:white;margin-bottom:20px;box-shadow:0 3px 12px #353e5b06;overflow:hidden}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:13px 16px;background:#fbfbfe;border-bottom:1px solid #ececf4;font-size:11px;color:#88909d}.page-title{font-weight:650;color:#535e6c;display:flex;gap:8px;align-items:center}.page-toolbar input{min-width:0;width:140px;background:transparent;border:1px solid transparent;border-radius:4px;padding:3px;font-size:12px}.page-toolbar input:hover{border-color:var(--border)}.page-toolbar .icon-button{font-size:11px;border:0;background:transparent}.page-content{padding:16px}.row-wrapper{border:1px solid transparent;border-radius:6px;margin:5px 0 9px}.row-wrapper:hover{border-color:#eae7f5}.row-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:4px;padding:4px 6px;color:#9aa1ae;font-size:10px;min-height:28px}.row-toolbar .icon-button{min-height:23px;min-width:24px;padding:2px 5px;font-size:10px;border:0}.row-toolbar select{border:1px solid #e9e7f1;background:#fff;border-radius:4px;font-size:10px;padding:2px 4px;color:#7d8691}.form-row{display:grid;grid-template-columns:repeat(var(--columns,1),minmax(0,1fr));gap:8px}.form-column{min-height:70px;min-width:0;display:flex;flex-direction:column;gap:5px}.field-card{border:1px solid transparent;border-radius:6px;padding:13px 12px;position:relative;cursor:pointer;min-width:0;transition:border-color .15s,background .15s}.field-card:hover{border-color:#d8d3f1;background:#fcfbff}.field-card.selected{border-color:#8979e9;background:#faf8ff;box-shadow:0 0 0 1px #8979e94d}.field-type{font-size:9px;color:#9a91b1;text-transform:uppercase;letter-spacing:1px;margin-bottom:9px;display:none}.field-card.selected .field-type{display:block}.field-card label,.field-card .field-label{font-size:12px;color:#586171;line-height:1.5;font-weight:500;margin-bottom:8px;display:block}.field-card .required{color:#b9676a;margin-left:3px}.field-card input,.field-card select,.field-card textarea,.field-placeholder{width:100%;background:#f5f5f9;border:1px solid #e9e9f1;border-radius:5px;min-height:34px;padding:8px 10px;font-size:11px;color:#a2a8b1;pointer-events:none}.field-card textarea{height:64px;resize:none}.field-card input[type=radio],.field-card input[type=checkbox]{width:14px;min-height:14px;margin:0 5px 0 0}.field-card h3{font-size:17px;line-height:1.5;color:#505b69;font-weight:500;margin:0}.field-card p{font-size:11px;color:#9398a3;line-height:1.6;white-space:pre-wrap;margin:3px 0}.field-actions{display:flex;gap:4px;justify-content:flex-end;margin-top:10px}.field-actions .icon-button{font-size:10px;min-height:24px;padding:3px 6px}.column-empty{display:grid;place-items:center;border:1px dashed #d9d5e9;border-radius:5px;min-height:72px;font-size:11px;color:#a09bb4;background:#fdfcfe;text-align:center;padding:10px}.add-row{width:calc(100% - 24px);margin:6px 12px 16px;border:1px dashed #d7d3e6;background:transparent;color:#958ba9;border-radius:5px;padding:9px;font-size:11px}.add-row:hover{background:#f6f3ff;color:var(--accent);border-color:#a396e0}.add-page{display:block;width:100%;background:#ffffff90;border:1px dashed #c6cad8;border-radius:8px;padding:13px;color:#7f8393;font-size:12px}.canvas-empty{padding:26px 18px;color:#969ba8;text-align:center;font-size:12px}
.inspector-section{border-top:1px solid #ececf2;padding-top:17px;margin-top:18px}.inspector-section h3{font-size:11px;letter-spacing:.3px;color:#636b7a;margin-bottom:14px}.control-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.control-group>label,.control-label{font-size:11px;font-weight:600;color:#697384}.control-group input:not([type=checkbox]):not([type=radio]):not([type=color]),.control-group textarea,.control-group select,.control-input{width:100%;min-width:0;border:1px solid #e0e3ed;background:#fff;border-radius:6px;padding:9px 10px;color:#465264;font-size:12px}.control-group textarea{min-height:68px;line-height:1.6}.control-group input[type=color]{width:100%;height:35px;border:1px solid var(--border);padding:3px;background:white;border-radius:6px}.control-group input[type=checkbox]{accent-color:var(--accent)}.control-group small{font-size:10px;color:#9a9da8}.control-row{display:flex;align-items:center;gap:10px}.control-row>.control-group{flex:1;min-width:0}.control-row label{font-size:12px;color:#626b7a}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;gap:10px}.option-row{display:flex;gap:5px;align-items:center;margin-bottom:6px}.option-row input{flex:1;min-width:0;border:1px solid #e0e3ed;border-radius:5px;padding:7px;font-size:12px}.inspector-empty{font-size:12px;text-align:center;line-height:1.7;padding:20px 4px;color:#9c9fae}.settings-panel{max-width:850px;margin:0 auto;padding:25px;background:#fff;border:1px solid var(--border);border-radius:12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-panel h2{font-size:19px}
.modal-overlay{position:fixed;inset:0;z-index:50;background:#111b3159;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:#fff;border-radius:15px;width:min(650px,100%);max-height:90vh;overflow:auto;box-shadow:0 25px 90px #0e17312b;padding:28px}.modal.wide,.modal.preview-modal{width:min(1100px,100%)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.modal-header h2{font-size:20px;margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.preview-toolbar{display:flex;gap:8px;align-items:center;justify-content:center;margin-bottom:18px}.preview-surface{background:#f4f3f8;border:1px solid #e8e5f2;border-radius:10px;padding:28px;max-height:65vh;overflow:auto}.preview-surface.mobile{width:390px;max-width:100%;margin:auto;padding:14px}.preview-note{font-size:11px;color:#8c899c;text-align:center;margin:12px 0 0}.embed-code{font-family:Consolas,monospace;font-size:12px;background:#f4f4f9;border:1px solid var(--border);border-radius:7px;padding:14px;white-space:pre-wrap;word-break:break-all}.share-link{background:#f5f4fb;border:1px solid #e0dced;padding:13px;border-radius:7px;word-break:break-all;font-size:13px}.notice,.error-banner,.success-banner{padding:13px 16px;border-radius:8px;margin-bottom:18px;font-size:12px;line-height:1.5}.notice{background:#eeebfb;color:#7563a2}.error-banner{background:#fff0f1;color:#ac3d46;border:1px solid #f6d1d5}.success-banner{background:#e7f5ed;color:#34815b;border:1px solid #cbe7d8}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#26323d;color:white;box-shadow:0 7px 25px #1a253b30;border-radius:9px;padding:12px 23px;z-index:100;font-size:13px;max-width:90vw}.toast.error{background:#a53744}.toast.success{background:#286950}.login-panel{max-width:400px;margin:100px auto;background:#fff;padding:34px;border:1px solid var(--border);border-radius:13px}.login-panel h1{font-size:26px}
.inbox-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.inbox-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px}.response-list{display:flex;flex-direction:column;gap:8px}.response-item{display:block;text-align:left;width:100%;padding:17px;background:white;border:1px solid var(--border);border-radius:9px;color:#56616e}.response-item.active{border-color:#a698e5;background:#f7f4ff}.response-item strong{display:block;margin-bottom:4px;font-size:12px}.response-item small{font-size:11px}.response-detail{padding:28px;background:white;border:1px solid var(--border);border-radius:11px}.response-detail h2{font-size:20px}.response-answer{padding:16px 0;border-bottom:1px solid #eceef4;white-space:pre-wrap;overflow-wrap:anywhere}.response-answer:last-child{border-bottom:0}.response-answer dt,.response-answer label{display:block;font-size:11px;font-weight:600;color:#9699a5;margin-bottom:6px}.response-answer dd{margin:0;color:#525d6d;font-size:13px}
.public-page{background:var(--form-background,#f4f3f8);min-height:100vh;padding:45px 22px}.public-brand{font-size:11px;color:#9891a9;text-align:center;margin:25px auto}.rendered-form{--form-accent:#6757df;--form-radius:12px;max-width:var(--form-width,800px);margin:auto;background:white;border-radius:var(--form-radius);padding:34px;color:#3b4655;box-shadow:0 5px 30px #33365c07}.form-intro h1{font-size:25px;letter-spacing:-.5px;line-height:1.4;margin-bottom:10px}.form-intro p{font-size:15px;line-height:1.65;color:var(--form-secondary,#495665);margin-bottom:24px}.form-progress{height:4px;border-radius:5px;background:#eeeaf7;margin:0 0 25px;overflow:hidden}.form-progress-fill{height:100%;background:var(--form-accent);transition:width .2s}.page-indicator{font-size:11px;color:#a09aa9;margin-bottom:8px}.render-row{display:grid;grid-template-columns:repeat(var(--columns,1),minmax(0,1fr));gap:22px}.render-column{min-width:0}.render-field{margin:0 0 23px}.render-field .field-label{display:block;font-size:16px;line-height:1.5;font-weight:500;color:#505a69;margin-bottom:8px}.required-mark,.render-field .required{color:#c55d66;margin-left:3px}.render-field .field-help{color:var(--form-secondary,#495665);font-size:14px;line-height:1.6;margin:0 0 9px;white-space:pre-wrap}.render-field input:not([type=checkbox]):not([type=radio]),.render-field textarea,.render-field select{width:100%;border:1px solid #e4e5ee;border-radius:6px;background:#f9f9fc;color:#454f60;padding:11px 13px;min-height:44px;font-size:16px}.render-field input::placeholder,.render-field textarea::placeholder{color:var(--form-placeholder,#495665);opacity:1}.render-field textarea{min-height:100px;resize:vertical}.render-field input:focus,.render-field textarea:focus,.render-field select:focus{border-color:var(--form-accent);box-shadow:0 0 0 3px #6757df12}.render-field input[type=checkbox],.render-field input[type=radio]{accent-color:var(--form-accent);height:17px;width:17px;margin:0;flex-shrink:0}.choice-option,.checkbox-option{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px;color:#606877;cursor:pointer}.field-error{color:#bc4352;font-size:11px;margin:7px 0 0;line-height:1.5}.render-field.invalid input,.render-field.invalid textarea,.render-field.invalid select{border-color:#d2838d!important}.render-field h2{font-size:19px;line-height:1.5;letter-spacing:-.2px;font-weight:500;color:#505b6b;margin:0}.render-field .paragraph-text{font-size:12px;line-height:1.7;color:#9196a3;white-space:pre-wrap;margin:0}.form-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.form-navigation .primary{background:var(--form-accent);border-color:var(--form-accent);padding:12px 24px;min-height:43px}.form-navigation .primary:only-child{margin-left:auto}.success-state{text-align:center;padding:38px 15px}.success-icon{display:grid;place-items:center;width:62px;height:62px;background:#e6f4ec;color:#3e9666;border-radius:50%;font-size:27px;margin:0 auto 23px}.success-state h2{font-size:23px;margin-bottom:13px}.success-state p{color:var(--form-secondary,#495665);line-height:1.7}.preview-surface.mobile .render-row{grid-template-columns:1fr}.preview-surface.mobile .rendered-form{padding:20px}.preview-surface.mobile .form-intro h1{font-size:22px}.preview-surface.mobile .render-row{gap:0}
@media(min-width:1500px){.editor-grid{grid-template-columns:230px minmax(450px,1fr) 310px}.workspace{padding-left:36px;padding-right:36px}.form-canvas{padding:35px}}
@media(max-width:1100px){.workspace{padding:0 16px 24px}.editor-grid{grid-template-columns:170px minmax(280px,1fr) 235px;gap:12px}.palette-panel,.inspector-panel{padding:13px}.form-canvas{padding:12px}.field-card{padding:9px 6px}.field-card label{font-size:11px}.page-content{padding:8px}.workspace-actions{gap:4px}.workspace-actions .button{padding:8px 10px}.save-state{display:none}.app-header{padding:0 20px}}
@media(max-width:850px){.editor-grid{grid-template-columns:155px minmax(0,1fr)}.inspector-panel{position:static;grid-column:1/-1;max-height:none}.inspector-panel .inspector-section{display:block}.palette-panel{max-height:none}.workspace-heading{flex-wrap:wrap}.workspace-actions{margin-left:auto}.inbox-layout{grid-template-columns:260px minmax(0,1fr)}.form-canvas{min-height:420px}.dashboard,.dashboard-page{padding:28px 20px}.dashboard-header{flex-wrap:wrap}}
@media(max-width:600px){.app-header{height:62px;padding:0 16px;gap:10px}.brand{font-size:16px}.brand-mark{width:29px;height:29px;font-size:17px}.local-badge{font-size:9px;padding:4px 6px}.header-actions small{display:none}.dashboard,.dashboard-page{padding:25px 16px}.dashboard-header h1{font-size:27px}.stats-grid{gap:8px}.stat-card{padding:15px 12px}.stat-card strong{font-size:25px}.stat-card span{font-size:10px}.forms-grid{grid-template-columns:1fr}.workspace-heading{padding:21px 0 14px;gap:13px}.workspace-actions{width:100%;margin:0;flex-wrap:wrap}.workspace-heading h1{font-size:20px}.tabs{gap:20px}.editor-grid{display:flex;flex-direction:column}.palette-panel,.inspector-panel,.canvas-panel{width:100%;position:static}.palette-panel{padding:12px}.palette-panel h2{margin-bottom:10px}.palette-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.palette-item{padding:8px 6px;font-size:10px;gap:5px}.palette-icon{width:18px;height:18px;font-size:10px}.palette-help{display:none}.form-canvas{padding:10px}.row-toolbar{flex-wrap:wrap}.field-card{padding:8px 5px}.field-card label{font-size:10px}.field-card input{font-size:10px;padding:6px}.field-actions{gap:2px;flex-wrap:wrap}.field-actions .icon-button{font-size:9px;padding:2px 4px;min-width:20px}.form-row{gap:3px}.page-toolbar{padding:10px}.inbox-layout{grid-template-columns:1fr}.response-list{max-height:240px;overflow:auto}.response-detail{padding:21px}.modal-overlay{padding:10px}.modal{padding:20px;border-radius:12px;max-height:94vh}.preview-surface{padding:10px}.public-page{padding:18px 12px}.rendered-form{padding:23px 18px}.render-row{grid-template-columns:1fr;gap:0}.render-field{margin-bottom:22px}.form-intro h1{font-size:22px}.settings-grid{grid-template-columns:1fr}.settings-panel{padding:18px}.form-navigation .button{font-size:12px;padding:11px 16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Dashboard and editor components. */
.workspace-badge{font-size:11px;color:#d2ddd8;border:1px solid #4e6068;padding:4px 9px;border-radius:5px}
.avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#43535c;color:#e6e4fa;font-size:12px}
.stat-card{flex-direction:row;align-items:center;gap:18px}
.stat-card strong,.stat-card div>span{display:block}
.stat-card div>span{margin-top:4px}
.stat-card .stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:21px;flex-shrink:0}
.stat-icon.purple{background:#efebff;color:#8572d3}.stat-icon.green{background:#eaf5ef;color:#6b9e83}.stat-icon.orange{background:#fff1e8;color:#c78e65}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-heading h2{font-size:19px;margin-bottom:5px}.section-heading p{font-size:12px;color:var(--muted);margin:0}.section-heading>.muted{font-size:11px}
.count-pill{display:inline-block;background:#eeedf4;color:#8b849e;padding:1px 7px;border-radius:5px;font-size:10px;vertical-align:middle;margin-left:5px}
.form-card-preview{position:relative;text-decoration:none;align-items:flex-start;background:#eeecf6;height:180px}
.mini-form{flex-shrink:0;max-width:210px;padding:20px 24px}
.mini-form span,.mini-inputs i{display:block;border-radius:3px}
.mini-title{height:6px;background:#b8b2d2;width:70%;margin-bottom:7px}.mini-form .mini-line{height:4px;width:48%;margin-bottom:15px;background:#e8e5ef}
.mini-inputs{display:flex;gap:7px;margin-bottom:9px}.mini-inputs i{height:17px;flex:1;border:1px solid #e7e4f0;background:#faf9fc}
.mini-input{height:20px;border:1px solid #e7e4f0;margin-bottom:12px;background:#faf9fc}.mini-button{height:12px}
.preview-open{position:absolute;inset:auto 0 0;padding:7px;background:#e2def199;color:#8b7fb0;text-align:center;font-size:10px;opacity:0;transition:opacity .2s}
.form-card-preview:hover .preview-open{opacity:1}.form-card-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.form-card h3{font-size:15px;margin:0 0 13px}.form-card h3 a{color:var(--ink)}
.form-card-footer{padding:13px 0 0;border-top:1px solid #eff0f4}.text-link{font-size:12px;font-weight:600}
.new-form-card{min-height:310px;border:1px dashed #d4d0e1;border-radius:13px;background:#f8f7fc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#8b849c}
.new-form-card:hover{background:#f1eefb;border-color:#a799d1}.new-form-card strong{font-size:13px;color:#756987}.new-form-card>span:last-child{font-size:11px}
.new-form-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ede9f7;color:#a096bd;font-size:25px;margin-bottom:5px}
.workspace-note{display:flex;gap:15px;margin-top:30px;padding:19px 22px;background:#eeedf5;border-radius:10px;color:#7d758e}
.workspace-note strong{font-size:12px}.workspace-note p{font-size:11px;line-height:1.6;margin:3px 0 0}.note-icon{font-size:23px;color:#a092cc}
.editor-workspace{max-width:1800px;padding:0 28px 35px;margin:auto}
.back-link{font-size:22px;width:34px;color:#8a8d9e;text-align:center}.title-line{display:flex;gap:13px;align-items:center}
.editor-actions{display:flex;gap:9px;align-items:center}
.workspace-tabs{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);margin-bottom:24px}
.workspace-tabs .tabs{margin:0;border:0}.tabs-meta{font-size:11px}.tabs-meta .button{min-height:30px}
.panel-heading h2{margin-bottom:5px}.panel-heading p{font-size:10px;color:#9a9fab;line-height:1.6;margin:0 0 18px}
.palette-section-label{font-size:9px;letter-spacing:1.2px;font-weight:700;color:#9a9eab;margin:21px 0 10px}
.field-palette{display:grid;gap:7px}.palette-plus{margin-left:auto;color:#bbb8ca}.palette-layout{border-top:1px solid #edeef3;margin-top:20px}
.layout-buttons{display:flex;gap:6px}.layout-button{border:1px solid #e4e3ec;background:#fff;border-radius:6px;padding:8px 4px;flex:1;min-width:0;color:#9a93a9;font-size:9px}
.layout-button:hover{background:#f5f1ff;border-color:#b7a9e5}.layout-icon{display:flex;gap:3px;height:17px;margin:0 3px 6px}.layout-icon i{display:block;background:#e9e5f3;flex:1;border-radius:2px}
.palette-tip,.inspector-tip{font-size:10px;line-height:1.7;color:#a099ae;padding-top:20px;margin-top:20px;border-top:1px solid #eeeaf5}.inspector-tip p{margin:5px 0 0}
.page-tabs{display:flex;gap:5px;flex-wrap:wrap}.page-tab,.add-page-button{border:1px solid transparent;border-radius:6px;background:transparent;padding:6px 10px;font-size:11px;color:#93909f}
.page-tab.active{border-color:#ded8f0;background:#fff;color:#8a77bf}.add-page-button{border-color:#e4e1ed;background:#fff}
.canvas-label{font-size:9px;letter-spacing:1.2px}.canvas-intro{padding:0 5px 18px}.form-kicker{font-size:8px;letter-spacing:1.4px;color:#aaa4b8}
.canvas-intro h2{font-size:20px;line-height:1.4;margin:5px 0}.canvas-intro p{font-size:11px;color:#9994a5;margin:0;line-height:1.6}
.canvas-intro .placeholder-text{font-style:italic}.page-card{margin-bottom:12px}.page-label{font-size:11px;color:#737b87;font-weight:600}
.page-toolbar{padding:6px 12px}.page-toolbar .button{font-size:10px;min-height:26px;padding:4px 6px}
.row-container{padding:4px 10px 12px;border:1px solid transparent;border-bottom-color:#f1eff6}
.row-container.selected{background:#faf8ff;border-color:#c5bbed}
.row-toolbar{justify-content:space-between;opacity:.5}.row-container:hover .row-toolbar,.row-container.selected .row-toolbar{opacity:1}
.row-select{padding:3px;border:0;background:none;color:#8a819c;font-size:9px}.row-select span{color:#aaa3b5}
.field-card{padding:11px 10px}.field-select{display:block;width:100%;border:0;background:none;padding:0;text-align:left;color:inherit}
.field-card-label{display:block;font-size:11px;line-height:1.5;margin-bottom:8px;color:#626775}.required-marker{color:#bc6878;margin-left:3px}
.input-sample{height:34px;border:1px solid #e8e6ef;border-radius:5px;background:#f8f7fb;padding:8px 10px;color:#b0aabd;font-size:10px;display:flex;justify-content:space-between}
.textarea-sample{height:65px}.options-sample{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#8e859c}
.options-sample span,.checkbox-sample{display:flex;gap:6px;align-items:center}.options-sample i,.checkbox-sample i{width:13px;height:13px;border:1px solid #d5cddf;border-radius:50%;display:block;flex-shrink:0}
.checkbox-sample{font-size:11px;color:#837b91}.checkbox-sample i{border-radius:3px}.field-select .field-help{display:block;font-size:10px;color:#9992a6;line-height:1.6;margin-top:6px}
.field-actions .field-type{margin:0 auto 0 0;align-self:center;font-size:8px}
.column-add{border:1px dashed transparent;border-radius:5px;background:transparent;padding:6px;color:#b5adc7;font-size:9px;width:100%;margin-top:auto}
.column-add:hover,.active-column .column-add{border-color:#dcd3ef;background:#f7f4fc;color:#a28ebd}
.add-row-bar{text-align:center;border:1px dashed #d9d5e5;border-radius:7px}.add-row-bar .button{font-size:11px;color:#9a8db1;min-height:29px}
.canvas-submit{text-align:right;margin:20px 0 0}.canvas-submit>span{display:inline-flex;gap:25px;padding:10px 22px;border-radius:6px;background:var(--form-accent);color:white;font-size:11px}
.canvas-footer{display:flex;justify-content:space-between;gap:10px;color:#a4a0b0;font-size:9px;padding:15px 3px}
.inspector-title,.inspector-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.type-badge{background:#f2eff9;border-radius:4px;color:#a292b6;font-size:8px;padding:3px 6px}
.inspector-empty-icon{display:grid;place-items:center;margin:18px auto;width:47px;height:47px;border-radius:50%;background:#f3eff9;color:#bcadd3;font-size:24px}
.inspector-empty h3{font-size:13px;color:#8f849f}.control-row>.button{flex:1;font-size:10px;padding:8px 5px}.inspector-section .control-row{margin-bottom:9px}
.toggle-control{display:flex;align-items:center;gap:6px;position:relative;font-size:11px;color:#697384}.toggle-control small{display:block;font-size:9px;color:#a6a0b1;margin-top:3px}
.toggle-control input{position:absolute;right:0;width:34px;height:20px;opacity:0;cursor:pointer}.toggle-track{margin-left:auto;width:31px;height:18px;border-radius:12px;background:#d8d5e1;position:relative;pointer-events:none}
.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .15s}.toggle-control input:checked+.toggle-track{background:var(--accent)}
.toggle-control input:checked+.toggle-track:after{transform:translateX(13px)}.toggle-control input:focus-visible+.toggle-track{outline:3px solid #b7a7eb;outline-offset:3px}
.option-number{font-size:9px;color:#b6acbf;width:12px}.inspector-section-title h3{margin:0}.inspector-section-title{margin-bottom:10px}
.settings-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:70px;max-width:1050px;margin:45px auto}
.settings-intro{padding-top:30px}.settings-intro h2{font-size:30px;line-height:1.35}.settings-intro>p:last-child{font-size:13px;color:var(--muted);line-height:1.8}
.settings-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:30px}.settings-card .inspector-section:first-child{margin:0;padding:0;border:0}
.input-prefix,.copy-row{display:flex;align-items:center;gap:8px}.input-prefix{background:#f5f4f9;border:1px solid var(--border);border-radius:6px;padding-left:10px;font-size:11px;color:#aaa1b6}
.control-group .input-prefix input{border:0;background:transparent}.copy-row input{flex:1;min-width:0}
.info-banner{background:#f1eef8;color:#91839e;font-size:11px;line-height:1.7;padding:15px;border-radius:7px}
.design-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:25px}.design-controls{background:#fff;border:1px solid var(--border);border-radius:12px;padding:23px;align-self:start}.design-preview{padding:35px;border-radius:12px;min-width:0}
.modal-header .eyebrow{font-size:9px;margin-bottom:6px}.modal-close{border:0;background:#f4f2f8;border-radius:50%;font-size:20px}
.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-description{font-size:13px;color:var(--muted)}
.template-options{border:0;padding:0;margin:22px 0}.template-options legend{font-size:11px;color:#8a8197;font-weight:600;margin-bottom:10px}
.template-choice{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid #e8e3ef;border-radius:9px;margin-bottom:10px;cursor:pointer}
.template-choice:has(input:checked){border-color:#b5a6df;background:#faf7ff}.template-choice input{accent-color:var(--accent)}.template-choice strong{font-size:12px;display:block}.template-choice small{font-size:10px;display:block;margin-top:3px}
.preview-toolbar{justify-content:space-between}.preview-toolbar>.muted{font-size:10px}.segmented-control{display:flex;background:#f0eef5;border-radius:7px;padding:3px}
.segmented-control button{border:0;background:none;padding:7px 16px;font-size:11px;color:#a298af;border-radius:5px}.segmented-control button.active{background:#fff;color:#7b699a;box-shadow:0 1px 5px #3523470c}
.preview-surface{overflow:visible;max-height:none}.preview-scroll{max-height:64vh;overflow:auto;border-radius:10px;background:#f5f2f8}
.preview-note{margin:0 0 20px;font-size:9px;letter-spacing:.5px;color:#aa9bb7}
.rendered-form{--form-accent:inherit;--form-radius:inherit;border-radius:var(--form-radius,12px)}
.form-progress{height:auto;overflow:visible;background:none;margin-bottom:25px}
.progress-caption{display:flex;justify-content:space-between;font-size:13px;color:var(--form-secondary,#495665);margin-bottom:7px}
.progress-track{height:4px;border-radius:4px;background:#eee9f6;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--form-accent,#6757df)}
.radio-options{border:0;margin:0;padding:0;min-width:0}.radio-control,.checkbox-control{display:flex;gap:9px;align-items:center;padding:6px 0;font-size:15px;color:var(--form-text-color,#263442)}
.choices-horizontal{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:flex-start}.choices-horizontal>legend{width:100%}.choices-horizontal>.has-custom{flex:1 1 180px}.rating-number{display:block;font-size:12px;line-height:1.5;color:var(--form-text-color,#505a69)}
.slider-track{flex:1;min-width:0}.slider-track>input{display:block;width:100%}.slider-ticks{position:relative;height:26px;margin:0 8px;font-size:10px;color:var(--form-text-color,#505a69)}.slider-ticks>span{position:absolute;padding-top:10px;transform:translateX(-50%)}.slider-ticks>span:before{content:"";position:absolute;top:2px;left:50%;height:5px;border-left:1px solid currentColor}.slider-control:has(.slider-ticks){align-items:flex-start}
.image-crop{height:0;position:relative;display:flex;align-items:center;overflow:hidden;padding-top:calc(1% * var(--image-height) / 2);padding-bottom:calc(1% * var(--image-height) / 2)}.image-crop img{position:absolute;left:0;width:100%;max-width:none;max-height:none;height:auto;transform:scale(var(--image-scale)) translateY(calc(1% * var(--image-offset)))}
.checkbox-options{border:0;margin:0;padding:0;min-width:0}.checkbox-control input,.radio-control input{flex-shrink:0}.checkbox-control span,.radio-control span{overflow-wrap:anywhere}.default-choices{display:grid;gap:9px;margin:0 0 18px}.default-choices label,.default-checkbox{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5}.default-choices input,.default-checkbox input{flex-shrink:0;accent-color:var(--accent)}
.rich-content{font-size:16px;line-height:1.7;overflow-wrap:anywhere}.rich-content p{margin:0 0 10px}.rich-content ul,.rich-content ol{padding-left:24px}.field-hint{display:block;margin-top:5px}.image-field{margin-left:0;margin-right:0}.image-field img{display:block;max-width:100%;height:auto;margin:auto}.slider-control{display:flex;align-items:center;gap:16px}.slider-control input[type=range]{flex:1;min-width:0;padding:0;accent-color:var(--form-accent)}.slider-control output{font-variant-numeric:tabular-nums;min-width:3ch;text-align:right;font-size:14px}.slider-range{display:flex;justify-content:space-between;color:#948b9e;font-size:11px;margin-top:6px}
.builder-image{display:block;max-width:100%;height:auto;margin:auto}.content-sample,.slider-sample{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:12px;color:#837b91}.slider-sample i{height:4px;background:#d6cbee;flex:1;border-radius:4px}.hidden-field-badge{display:block;font-size:10px;color:#8c6b32;background:#fff3dc;border-radius:4px;padding:4px 7px;margin-bottom:9px}.inspector-section>.default-checkbox{margin:10px 0}.page-routing{padding:10px 16px;font-size:11px;color:#837b91;border-bottom:1px solid var(--border)}.page-routing select{margin-left:8px;max-width:65%;border:1px solid var(--border);padding:5px;border-radius:5px}
.custom-choice-answer{margin:4px 0 10px 26px;max-width:calc(100% - 26px)}.custom-choice-answer[hidden]{display:none!important}.choice-custom-setting{font-size:10px;display:flex;align-items:center;gap:5px;color:#8c819a}.choice-custom-setting input{accent-color:var(--accent)}
.rating-options{display:flex;gap:5px}.rating-star{border:0;background:transparent;padding:3px;font-size:32px;line-height:1.3;color:#d8d3df;cursor:pointer}.rating-star.filled{color:var(--form-accent)}.rating-star:focus-visible{outline:2px solid var(--form-accent);outline-offset:2px;border-radius:4px}.rating-sample{color:#c6b6e5;font-size:25px;letter-spacing:4px}.selected-files{display:grid;gap:3px;font-size:12px;margin:5px 0;overflow-wrap:anywhere}.choice-custom-setting input[type=checkbox]{flex:0 0 auto;width:13px;height:13px;padding:0}
.phone-control{display:flex;gap:8px;align-items:stretch}.phone-control select{max-width:42%;flex:0 1 42%;font-size:11px!important}.phone-control input{min-width:0;flex:1}.file-downloads{display:grid;gap:7px}.file-downloads a{overflow-wrap:anywhere}
.rendered-form{font-family:var(--form-font,inherit);background:var(--form-surface-background,#fff);color:var(--form-text-color,#505a69)}.rendered-form .field-label,.rendered-form h1,.rendered-form h2,.rendered-form .rich-content,.rendered-form .radio-control,.rendered-form .checkbox-control{color:var(--form-text-color,#505a69)}.render-field input:not([type=checkbox]):not([type=radio]),.render-field textarea,.render-field select{background:var(--form-field-background,#f9f9fc);color:var(--form-text-color,#505a69)}.choice-with-custom.has-custom{display:flex;gap:9px;align-items:center}.choice-with-custom.has-custom>.custom-choice-answer{margin:4px 0;max-width:none;min-width:0;flex:1}.choice-with-custom.has-custom>label{flex:0 0 17px}.consent-notice{display:block;width:100%;padding:10px 0;margin:4px 0 0;border:0;background:transparent;text-align:left;font:inherit;font-size:11px;line-height:1.6;color:inherit;cursor:pointer}.consent-notice span{text-decoration:underline}.consent-dialog{max-width:min(680px,calc(100vw - 32px));max-height:80vh;border:1px solid #ded9e9;border-radius:12px;padding:24px;color:#505a69}.consent-dialog::backdrop{background:#14203777}.consent-dialog-heading{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.consent-dialog-heading h2{font-size:19px;line-height:1.4;margin:0}
.render-field.content-field p{line-height:1.65;color:inherit;white-space:pre-wrap}
.powered-by{text-align:center;margin:24px 0 0;font-size:11px;color:var(--form-secondary,#495665)}.powered-by strong{font-weight:500}
.inbox{padding:10px 0}.response-item>span{display:block;font-size:10px;color:#aaa0b5;margin:4px 0}.response-detail-header{border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:5px}
.response-detail-header h3{margin-bottom:7px;font-size:17px}.response-detail-header p{font-size:10px;color:#a398b0}.response-meta{font-size:10px;color:#a398b0}
.loading-state{padding:80px;text-align:center;color:#a394b2}
.response-item{display:flex;align-items:center;gap:14px}.response-item.selected{border-color:#b4a5d8;background:#faf7ff}
.response-item .response-number{display:grid;place-items:center;background:#efe9f9;border-radius:8px;width:33px;height:33px;flex-shrink:0;color:#9884b4;font-size:12px}
.response-item>span:last-child{margin-left:auto}.response-item strong{color:#70647e}.response-item small{font-size:10px}
.response-detail-heading{border-bottom:1px solid #eeeaf4;padding-bottom:15px}.response-detail-heading h3{font-size:18px;margin-bottom:7px}
.response-detail-heading .muted{font-size:10px;margin:0}.answer-list{margin:0}.answer-list>div{padding:18px 0;border-bottom:1px solid #f0edf5}
.answer-list dt{font-size:11px;color:#9a8eaa;margin-bottom:7px}.answer-list dd{font-size:13px;margin:0;color:#61576e;white-space:pre-wrap;overflow-wrap:anywhere}
.response-id{font-size:9px;color:#b3a9bd;margin:25px 0 0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.responses-table-card{border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 12px #353e5b04}
.responses-table-scroll{overflow:auto;max-height:65vh;scrollbar-color:#d8d3e4 #f7f6fa}
.responses-table-scroll:focus-visible{outline:3px solid #b4a7e8;outline-offset:-3px}
.responses-table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left}
.response-number-column{width:105px}.response-date-column{width:205px}.response-answer-column{width:280px}
.responses-table th,.responses-table td{padding:17px 20px;border-bottom:1px solid #ececf3;border-right:1px solid #f0eef5;vertical-align:top;overflow-wrap:anywhere}
.responses-table th:last-child,.responses-table td:last-child{border-right:0}
.responses-table thead th{position:sticky;top:0;z-index:2;background:#f7f6fb;color:#736b83;font-size:11px;font-weight:600;line-height:1.6}
.responses-table thead th:first-child{left:0;z-index:3}
.responses-table tbody th{position:sticky;left:0;z-index:1;background:#fff;font-weight:500}
.responses-table tbody td{color:#554c63;font-size:12px;line-height:1.7;background:#fff}
.responses-table tbody tr:hover td,.responses-table tbody tr:hover th{background:#faf8fe}
.responses-table tbody tr:last-child th,.responses-table tbody tr:last-child td{border-bottom:0}
.responses-table .response-date-cell{font-size:11px;color:#81758e;font-variant-numeric:tabular-nums}
.response-version{display:block;font-size:9px;color:#aaa0b6;margin-top:4px}
.response-open{display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%;padding:0;border:0;background:none;font-size:12px;font-weight:600;color:#8270b6;line-height:1.7}
.response-open:hover{color:var(--accent)}.response-open>span:last-child{font-size:11px;color:#b2a4cb}
.response-cell-value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.response-original-label{display:block;font-size:9px;color:#a196ae;margin-top:7px}
.responses-table-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 20px;border-top:1px solid #ececf3;background:#fdfcff;font-size:10px;color:#a196ac}
.response-modal{width:min(720px,100%)}.response-modal .response-detail-heading h3{font-size:15px}.response-modal .response-detail-heading>.eyebrow{display:none}
.page-card{overflow:visible}.page-toolbar{border-radius:9px 9px 0 0}
.field-card{cursor:default;isolation:isolate;margin:8px 0;padding:14px 12px 10px}
.field-card:hover,.field-card:focus-within{z-index:2;border-color:#b8a9ee;background:#fcfaff}
.field-select{cursor:pointer}
.field-card .field-card-label{display:flex;align-items:baseline;gap:2px;margin-bottom:9px}
.field-card .field-card-label .required-marker{font-size:12px;flex-shrink:0;margin:0}
.field-card .inline-edit{pointer-events:auto;cursor:text;max-width:100%;min-width:0;min-height:0;width:100%;margin:0;padding:3px 4px;border:1px solid transparent;border-radius:4px;background:transparent;color:#626775;font:inherit;font-size:12px;line-height:1.55;box-shadow:none;resize:none}
.field-card textarea.inline-edit{display:block;height:auto;overflow:hidden;white-space:pre-wrap}
.field-card .inline-edit:hover{background:#f0ecfb;border-color:#e2d9f5}
.field-card .inline-edit:focus{outline:none;border-color:#b5a1ec;background:#fff;box-shadow:0 0 0 2px #b9a4f21c}
.field-card .inline-edit::placeholder{color:#b4abbe;font-size:10px}
.field-card .inline-heading{font-size:17px;line-height:1.5;font-weight:500;color:#505b69}
.field-card .inline-paragraph,.field-card .inline-help{font-size:12px;line-height:1.6}
.field-card .input-sample{padding:3px 5px;min-height:36px;height:auto;align-items:flex-start}
.field-card .input-sample.textarea-sample{min-height:67px}
.field-card .inline-placeholder{font-size:11px;color:#aaa1b7;min-height:26px}
.field-card .checkbox-sample>.field-card-label{flex:1;margin-bottom:0}
.field-card .field-actions{visibility:hidden;opacity:0;min-height:24px;transition:opacity .15s;gap:3px}
.field-card:hover .field-actions,.field-card:focus-within .field-actions,.field-card.selected .field-actions{visibility:visible;opacity:1}
.field-card .field-type{display:block}
.field-card .field-actions .icon-button{font-size:10px;min-width:25px;padding:3px 5px}
.field-insert{position:absolute;z-index:4;width:25px;height:25px;border:1px solid #d5caf5;border-radius:50%;background:#f3eefe;color:#a18ad9;font-size:20px;line-height:1;padding:0;display:grid;place-items:center;box-shadow:0 2px 7px #8d77c21a;opacity:0;pointer-events:none;transition:opacity .15s,background .15s}
.field-insert-above{top:-13px;left:calc(50% - 12px)}.field-insert-below{bottom:-13px;left:calc(50% - 12px)}
.field-insert-left{left:-13px;top:calc(50% - 12px)}.field-insert-right{right:-13px;top:calc(50% - 12px)}
.field-card:hover>.field-insert,.field-card:focus-within>.field-insert,.field-card.selected>.field-insert{opacity:1;pointer-events:auto}
.field-card .field-insert:hover,.field-card .field-insert:focus-visible{background:var(--accent);border-color:var(--accent);color:white;opacity:1}
.field-card .field-insert:disabled{opacity:0!important;pointer-events:none}
.inline-choices{display:flex;flex-direction:column;gap:2px}
.inline-choice{display:flex;align-items:center;gap:7px;border-radius:5px;padding:1px 3px}
.inline-choice:hover,.inline-choice:focus-within{background:#eee8fb}
.inline-choice>i{display:block;flex-shrink:0;width:15px;height:15px;border:1.5px solid #beb3cb;border-radius:50%}
.inline-choice>i.choice-square{border-radius:3px}
.field-card .inline-choice-label{flex:1;font-size:12px}
.inline-choice-remove{border:0;background:transparent;color:#b3a4c3;font-size:18px;width:23px;height:25px;padding:0;opacity:0}
.inline-choice:hover .inline-choice-remove,.inline-choice:focus-within .inline-choice-remove{opacity:1}
.inline-choice-remove:hover{color:#b54761;background:#f9e8ef;border-radius:4px}
.inline-choice-add{align-self:flex-start;margin:4px 0 0 21px;border:0;background:none;color:#8c73c9;font-size:11px;font-weight:600;padding:5px 7px}
.inline-choice-add:hover{background:#efe8fc;border-radius:4px}
.insert-picker{width:min(350px,calc(100vw - 24px));padding:20px;max-height:calc(100vh - 24px)}
.insert-picker .modal-header{margin-bottom:8px;gap:12px}.insert-picker .modal-header h2{font-size:18px}
.insert-context{font-size:11px;color:#9a8ba9;margin-bottom:15px}.insert-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.insert-type{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #e8e2f1;border-radius:7px;background:#fff;color:#766882;padding:10px;font-size:11px}
.insert-type:hover{border-color:#b5a0df;background:#f8f4ff;color:var(--accent)}
.insert-type .palette-icon{flex-shrink:0}
@media(hover:none){.field-insert{opacity:1;pointer-events:auto}.field-card .field-actions{visibility:visible;opacity:1}.inline-choice-remove{opacity:1}}
@media(max-width:600px){.responses-table th,.responses-table td{padding:14px}.response-number-column{width:85px}.response-date-column{width:180px}.response-answer-column{width:240px}.responses-table-footer{align-items:flex-start;flex-direction:column;gap:4px;padding:12px 14px}.inbox>.section-heading>.editor-actions{width:100%}}
@media(max-width:1100px){.editor-workspace{padding:0 16px 25px}.canvas-footer>span:nth-child(2){display:none}.settings-layout{gap:30px;margin:30px auto}}
@media(max-width:850px){.settings-layout{grid-template-columns:1fr;gap:10px}.settings-intro{padding:0}.settings-intro h2{font-size:25px}.design-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:600px){
  .editor-workspace{padding:0 12px 20px}.workspace-heading .editor-actions{width:100%}.editor-actions .button{flex:1;font-size:11px}
  .workspace-tabs{align-items:flex-start;gap:12px}.workspace-tabs .tabs{gap:15px}.tabs-meta>.muted{display:none}
  .section-heading{align-items:flex-start;flex-direction:column;gap:8px}.stat-card{padding:12px 8px;gap:7px}.stat-card .stat-icon{width:25px;height:25px;font-size:15px}.stat-card div>span{font-size:8px}
  .field-palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.palette-plus{display:none}.palette-tip{display:none}
  .palette-section-label{margin:12px 0 7px}.palette-layout{margin-top:12px}.palette-item{font-size:9px}.canvas-footer{font-size:8px}
  .design-layout{grid-template-columns:1fr}.design-preview{padding:15px}.settings-card{padding:20px}
  .title-line h1{font-size:19px}.title-line{gap:6px}.title-line .status-badge{font-size:8px}.canvas-intro{padding:4px 2px 15px}
  .preview-toolbar>.muted{display:none}.preview-scroll{max-height:67vh}.modal-footer{flex-wrap:wrap}.modal-footer .button{flex:1}
}

/* Workspace navigation and folder dashboard. */
.app-header .brand{flex-shrink:0}.workspace-tag{min-width:0;max-width:35vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#d0d7db}.header-actions{flex-shrink:0}.ownership-label{font-size:12px;color:#c0cbd1}
.dashboard-shell{display:grid;grid-template-columns:254px minmax(0,1fr);min-height:calc(100vh - 72px)}
.folder-sidebar{display:flex;flex-direction:column;align-self:start;position:sticky;top:0;height:calc(100vh - 72px);min-height:530px;padding:27px 16px 22px;background:#29363e;color:#c4cbd0}
.workspace-switcher{padding:0 6px 23px;border-bottom:1px solid #ffffff12}
.workspace-switcher-label{display:block;margin:0 0 10px;font-size:9px;font-weight:650;letter-spacing:1.7px;color:#95a2aa}
.workspace-switcher select{width:100%;padding:11px 10px;background:#37454e;color:#fff;border:1px solid #50606a;border-radius:7px;font-weight:550;font-size:13px;text-overflow:ellipsis}
.workspace-switcher select:focus{border-color:#b4a4f4;box-shadow:0 0 0 3px #b4a4f41a}
.workspace-switcher-actions{display:flex;justify-content:space-between;gap:4px;margin-top:9px}
.folder-sidebar .button.ghost{min-height:29px;padding:6px 4px;font-size:10px;color:#c7bfdc}
.folder-sidebar .button.ghost:hover{background:#ffffff0b;color:#fff}
.folder-nav{min-height:0;overflow-y:auto;margin:19px -5px 16px;padding:0 5px;scrollbar-width:thin;scrollbar-color:#586570 transparent}
.folder-nav-row{position:relative;display:flex;align-items:center;border-radius:7px;margin-bottom:5px;min-width:0;transition:background .15s}
.folder-nav-row:hover{background:#ffffff07}
.folder-nav-row.active{background:#43515b;box-shadow:inset 3px 0 #b8a7f6}
.folder-nav-link{display:flex;align-items:center;gap:11px;width:100%;min-width:0;border:0;border-radius:7px;background:none;color:#c0c9cf;text-align:left;padding:12px 11px;font-size:12px;line-height:1.4}
.folder-nav-row.active .folder-nav-link{color:#fff}
.folder-icon{display:grid;place-items:center;width:17px;flex-shrink:0;font-size:16px;color:#a3afb9}
.folder-nav-row.active .folder-icon{color:#c6b8f7}
.folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folder-count{margin-left:auto;padding-left:4px;font-size:10px;font-variant-numeric:tabular-nums;color:#8f9da7}
.folder-nav-row.active .folder-count{color:#d0c8e5}
.folder-section-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 8px 12px;font-size:9px;font-weight:650;letter-spacing:1.6px;color:#95a2aa}
.folder-section-heading .icon-button{min-width:25px;min-height:25px;width:25px;height:25px;padding:0;border:0;border-radius:50%;background:#b9a7f2;color:#3d315f;font-size:19px}
.folder-section-heading .icon-button:hover{background:#cbbdf9}
.folder-row-actions{display:flex;gap:0;position:absolute;right:5px;padding-left:6px;background:#303d45;border-radius:6px;opacity:0;pointer-events:none}
.folder-nav-row.active .folder-row-actions{background:#43515b}
.folder-nav-row:hover .folder-row-actions,.folder-nav-row:focus-within .folder-row-actions{opacity:1;pointer-events:auto}
.folder-row-actions .icon-button{width:25px;min-width:25px;height:28px;min-height:28px;background:none;border:0;color:#c8cbd5;font-size:14px;padding:0}
.folder-row-actions .icon-button:hover{background:#ffffff14;color:#fff}
.sidebar-empty{font-size:11px;line-height:1.6;margin:0 10px;color:#93a0aa}
.sidebar-bottom{margin-top:auto;padding:24px 7px 0;border-top:1px solid #ffffff12}
.dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:18px}
.dashboard-summary-item strong,.dashboard-summary-item span{display:block}
.dashboard-summary-item strong{font-size:22px;line-height:1.2;font-weight:500;color:#edf0f2;letter-spacing:-.5px}
.dashboard-summary-item span{margin-top:7px;font-size:9px;color:#9aa7af}
.sidebar-ownership{font-size:10px;line-height:1.7;color:#8e9da6;margin:25px 0 0}
.dashboard-main{min-width:0;padding:35px 36px 50px}
.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}
.dashboard-breadcrumb{color:#a29ba9;font-size:10px;margin:0 0 8px;overflow-wrap:anywhere}
.dashboard-toolbar h1{font-size:25px;font-weight:550;letter-spacing:-.65px;margin:0;color:#494150;overflow-wrap:anywhere}
.dashboard-toolbar .count-pill{font-size:10px;vertical-align:middle;margin-left:7px;border-radius:5px;padding:3px 8px;color:#9689a7;background:#ede9f3}
.dashboard-toolbar>.button{padding:11px 17px;font-size:11px;flex-shrink:0}
.dashboard-main .forms-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:20px}
.dashboard-main .form-card{border-color:#e8e5ed;border-radius:10px}
.dashboard-main .form-card-preview{height:173px;padding:22px 40px;background:#eeebf3}
.dashboard-main .preview-1{background:#e9eff0}.dashboard-main .preview-2{background:#f2eee9}
.dashboard-main .form-card-body{padding:19px 19px 17px}
.dashboard-main .form-card-heading{gap:8px;flex-wrap:wrap;margin:0 0 11px}
.dashboard-main .form-card-heading h3{min-width:0;font-size:15px;line-height:1.4;margin:0;flex:1;overflow-wrap:anywhere}
.dashboard-main .form-card-heading h3 a{color:#5d5368}
.dashboard-main .status-badge{font-size:8px;padding:4px 6px;flex-shrink:0}
.dashboard-main .form-card-body>p:not(.form-location){font-size:11px;color:#85798e;margin:0 0 14px;line-height:1.6}
.dashboard-main p.form-location{font-size:10px;color:#897b94;margin:0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.form-location>span{color:#b0a0c2;margin-right:3px}
.dashboard-main .form-card-footer{margin:0;padding:11px 0 0;gap:8px;flex-wrap:wrap;border-top:1px solid #f0edf4}
.dashboard-main .form-card-footer>.text-link{font-size:11px;color:#816aa4}
.form-card-actions{display:flex;gap:2px;margin-left:auto}
.form-card-actions .button{font-size:10px;min-height:28px;padding:5px 6px;color:#87768e}
.dashboard-main .new-form-card{min-height:310px;border-radius:10px;border-color:#dfd8e8;background:#f1eef580}
.dashboard-main .new-form-card strong{font-size:13px}
.dashboard-main .new-form-card>span:last-child{font-size:10px;line-height:1.6}
.dashboard-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:390px;padding:45px 25px;border:1px dashed #ddd7e6;border-radius:12px;text-align:center;background:#f9f8fb}
.dashboard-empty>.empty-icon{font-size:36px;line-height:1.2;color:#b1a0c7;margin-bottom:19px}
.dashboard-empty h2{font-size:22px;letter-spacing:-.5px;color:#6d5e7c;font-weight:500;margin-bottom:12px}
.dashboard-empty p{font-size:12px;line-height:1.8;color:#a295ac;max-width:350px;margin:0 0 22px}
.editor-organization{font-size:10px;color:#a093ac;margin:0 0 5px;overflow-wrap:anywhere}
.organization-modal{width:min(470px,100%)}
.organization-modal .control-group{margin:19px 0}
.organization-modal .field-help{font-size:11px;line-height:1.7;color:#8e819a}
.move-form-summary{padding:13px 15px;border-radius:7px;background:#f7f5fa;color:#8c7e9a;font-size:12px;overflow-wrap:anywhere}
.move-form-summary strong,.move-form-summary span{display:block}.move-form-summary strong{color:#63536f;margin-bottom:5px}.move-form-summary span{font-size:11px}
.dashboard-drag-hint{margin:9px 0 0;color:#8c8096;font-size:11px;line-height:1.6}
.dashboard-main .form-card[draggable=true]{cursor:grab;user-select:none}
.dashboard-main .form-card-preview{cursor:grab}
.form-drag-handle{position:absolute;right:12px;top:11px;display:grid;place-items:center;width:27px;height:27px;border:1px solid #d9d1e4;border-radius:6px;background:#ffffffb3;color:#8c7a9f;font-size:21px;line-height:1;opacity:.6;transition:opacity .15s;cursor:grab}
.form-card:hover .form-drag-handle,.form-card:focus-within .form-drag-handle{opacity:1}
.dashboard-main .form-card.is-dragging{opacity:.45;transform:none;box-shadow:none;cursor:grabbing}
.folder-nav-row.can-drop-form{outline:1px dashed #a798c180;outline-offset:-1px;background:#b7a1e40a}
.folder-nav-row.is-drop-target{outline:2px solid #c0a8fa;outline-offset:-2px;background:#665583;box-shadow:0 0 0 3px #b599ec18}
.folder-nav-row.is-drop-target .folder-nav-link,.folder-nav-row.is-drop-target .folder-icon,.folder-nav-row.is-drop-target .folder-count{color:#fff}
.folder-nav-row.is-drop-target .folder-icon{transform:translateX(2px)}
.is-form-dragging .folder-row-actions,.folder-nav-row.is-drop-pending .folder-row-actions{opacity:0;pointer-events:none}
.is-form-dragging .dashboard-drag-hint{color:#796097}
.folder-nav-row.is-drop-pending{background:#665583;outline:1px solid #c0a8fa;outline-offset:-1px}
.folder-nav-row.is-drop-pending .folder-count{visibility:hidden}
.folder-nav-row.is-drop-pending:after{content:"";position:absolute;right:13px;width:12px;height:12px;border:2px solid #ffffff40;border-top-color:#eee4ff;border-radius:50%;animation:folder-move-spin .8s linear infinite}
@keyframes folder-move-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.folder-nav-row.is-drop-pending:after{animation:none}}
@media(hover:none){.form-drag-handle{display:none}}
@media(hover:none){.folder-row-actions{position:static;opacity:1;pointer-events:auto;padding-left:0;margin-right:4px}.folder-nav-link{padding-right:7px}}
@media(min-width:1700px){.dashboard-main{padding:38px 42px 60px}.dashboard-main .forms-grid{grid-template-columns:repeat(auto-fill,minmax(280px,340px))}}
@media(max-width:1100px){.dashboard-shell{grid-template-columns:225px minmax(0,1fr)}.folder-sidebar{padding-left:12px;padding-right:12px}.dashboard-main{padding:28px 24px 40px}.dashboard-main .forms-grid{gap:16px}}
@media(max-width:750px){.dashboard-shell{grid-template-columns:200px minmax(0,1fr)}.folder-sidebar{padding:22px 10px;min-height:490px}.workspace-switcher{padding-left:2px;padding-right:2px}.workspace-switcher-actions{gap:1px}.folder-sidebar .button.ghost{font-size:9px}.dashboard-main{padding:25px 18px}.dashboard-toolbar{align-items:flex-start;flex-direction:column;gap:17px}.dashboard-toolbar h1{font-size:23px}.dashboard-toolbar>.button{align-self:flex-start}}
@media(max-width:600px){.ownership-label{display:none}.workspace-tag{font-size:10px;max-width:none;flex:1}.app-header .header-actions{margin-left:0}}
@media(max-width:550px){.dashboard-shell{display:block;min-height:calc(100vh - 62px)}.folder-sidebar{position:static;height:auto;min-height:0;padding:20px 16px 14px}.workspace-switcher{padding:0 0 13px}.workspace-switcher-label{margin-bottom:7px}.workspace-switcher-actions{justify-content:flex-start;gap:20px;margin-top:6px}.folder-sidebar .button.ghost{font-size:10px}.folder-nav{margin:12px -4px 0;max-height:240px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.folder-nav-row{margin:0}.folder-section-heading{grid-column:1/-1;margin:10px 8px 5px}.folder-nav-link{font-size:11px;padding:10px 9px;gap:8px}.sidebar-empty{grid-column:1/-1;margin:10px}.sidebar-bottom{display:none}.dashboard-main{padding:24px 16px 35px}.dashboard-toolbar{flex-direction:row;align-items:center;gap:12px;margin-bottom:22px}.dashboard-toolbar h1{font-size:21px}.dashboard-toolbar>.button{align-self:center;font-size:10px;padding:9px 11px}.dashboard-main .form-card-preview{height:165px}.dashboard-main .new-form-card{min-height:220px}.dashboard-empty{min-height:320px}.dashboard-empty h2{font-size:20px}}

/* Individual accounts and shared membership */
.identity-pilot-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 20px;background:#fff4da;border-bottom:1px solid #ead8ac;color:#7c6230;font-size:11px;line-height:1.5}
.identity-pilot-banner strong{font-size:11px;font-weight:650}.identity-pilot-banner span{color:#937b50}
.network-card{width:min(490px,100%)}.network-card>.network-login{width:100%;min-height:45px;margin:1px 0 0}
.signin-options{margin-top:20px;padding-top:12px;border-top:1px solid #eeeaf4}
.signin-options>summary{width:fit-content;max-width:100%;padding:8px 0;color:#57506b;font-size:13px;font-weight:600;cursor:pointer}
.signin-alternatives{display:grid;gap:8px;margin-top:8px}
.signin-alternatives>.button{justify-content:flex-start;white-space:normal;text-align:left}
.signin-options>p{margin:14px 0 0;font-size:13px;line-height:1.6;color:#57506b}
.signin-back{display:block;margin-top:16px;text-align:center;font-size:13px}
.access-card{width:min(520px,100%)}.access-actions{display:flex;flex-direction:column;gap:10px;margin:24px 0 0}.access-actions .button{width:100%;white-space:normal;min-height:40px}
.access-card .notice p{margin:8px 0 13px;line-height:1.7}.access-card .notice .button{font-size:11px}
.identity-signed-in{font-size:12px!important;overflow-wrap:anywhere}.identity-connection p{font-size:12px;color:#91889c;line-height:1.7;margin:13px 0 22px}
#identity-link-form{padding-top:20px;border-top:1px solid #ece7f1}#identity-link-form h3,.identity-recovery-section h3{font-size:14px;color:#696075;margin:0 0 13px}
#identity-link-form>.button{width:100%;font-size:12px;white-space:normal}.identity-recovery-section{border-top:1px solid #ece7f1;margin-top:25px;padding-top:22px}
.notice.identity-recovery-section{padding:15px;margin-top:25px;border:0}
@media(max-width:550px){.identity-pilot-banner{flex-direction:column;gap:2px;padding:8px 16px;text-align:center;font-size:10px}.identity-pilot-banner strong{font-size:10px}.access-actions .button{font-size:11px}}
.account-button{border:0;background:transparent;color:#e1e8eb;display:flex;align-items:center;gap:10px;padding:4px;border-radius:8px;cursor:pointer}
.account-button:hover{background:#ffffff12}

.signed-in-header{height:auto;min-height:72px;padding-block:8px}
.signed-in-header .header-actions{min-width:0;flex-shrink:1}
.signed-in-header .account-button{min-width:0;text-align:start}
.signed-in-header .avatar{flex:none}
.account-label{display:grid;gap:2px;max-width:min(38vw,32rem);min-width:0;line-height:1.35;overflow-wrap:anywhere}
.account-email{font-size:13px;color:#fff}
.account-display-name{font-size:11px;color:#c5d0d6}
@media(max-width:600px){
  .signed-in-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding-block:8px}
  .signed-in-header .brand{grid-column:1;grid-row:1;justify-self:start}
  .signed-in-header .workspace-tag,.signed-in-header .avatar{display:none}
  .signed-in-header .header-actions{display:contents}
  .signed-in-header .account-button,.signed-in-header .header-actions>.account-label{grid-column:1/-1;grid-row:2;max-width:100%;justify-self:start}
  .signed-in-header .header-actions>.button{grid-column:2;grid-row:1}
  .account-label{max-width:100%;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
  .account-email,.account-display-name{min-width:0;max-width:100%}
}
.login-layout{min-height:calc(100vh - 72px);display:flex;align-items:flex-start;justify-content:center;padding:64px 24px;background:radial-gradient(ellipse at top,#eeebfc 0,transparent 60%)}
.login-card{width:min(460px,100%);padding:36px;background:#fff;border:1px solid #e1deee;border-radius:16px;box-shadow:0 12px 42px #39277008}
.login-card>.brand-mark{margin-bottom:24px}.login-card .eyebrow{margin-bottom:9px}
.login-card h1{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:0 0 16px;color:#303c4b}
.login-card>p:not(.eyebrow){font-size:13px;line-height:1.7;color:#788291;margin:0 0 24px}
.login-card strong{color:#50596b;overflow-wrap:anywhere}.login-card .control-group{margin-bottom:18px}
.login-card .control-group>label{font-size:12px}.login-card .control-group input{padding:12px;font-size:14px;min-height:44px}
.login-card .control-group small{font-size:11px;line-height:1.5;color:#7f8998}
.login-card>.button{width:100%;margin-top:6px;min-height:43px}
.login-card .auth-help{font-size:11px!important;margin:20px 0 0!important;color:#87909d!important}
.setup-card{width:min(510px,100%)}.setup-card .notice{margin-bottom:24px}.setup-card .login-card{padding-top:28px}
.no-workspaces{max-width:600px;margin:72px auto;padding:24px}.no-workspaces p{line-height:1.8;margin-bottom:24px}
.workspace-access{display:flex;align-items:center;gap:8px;font-size:10px;color:#9496a6;margin:16px 0 10px}
.role-badge{display:inline-block;text-transform:capitalize;font-size:10px;font-weight:600;line-height:1.6;background:#eeeafa;color:#756395;border:1px solid #e5dff4;border-radius:5px;padding:2px 7px}
.members-button{width:100%;font-size:11px;padding:9px 10px}.sidebar-role-help{font-size:11px;color:#92929e;line-height:1.7;margin:12px 0 2px}
.read-only-label{display:inline-block;padding:7px 11px;font-size:11px;font-weight:500;border:1px solid #dfdce9;border-radius:6px;background:#f7f5fc;color:#8a7b9c;white-space:nowrap}
.viewer-note{color:#8e91a1;font-size:11px;margin:7px 0 0}.viewer-form{padding:24px;background:#efedf5;border-radius:12px}
.account-identity{display:flex;flex-direction:column;gap:6px;font-size:13px;padding:0 0 22px;margin-bottom:24px;border-bottom:1px solid #eceaf1}.account-identity span{color:#8c90a0;overflow-wrap:anywhere}
.members-modal{width:min(820px,100%)}.members-modal .modal-header{margin-bottom:18px}
.permission-guide{background:#f5f3fb;border:1px solid #e9e3f4;border-radius:8px;padding:13px 16px;margin:0 0 23px;font-size:12px;color:#81788e;line-height:1.7}
.permission-guide summary{cursor:pointer;font-weight:600;color:#716186}.permission-guide p{margin:12px 0 0}
.members-section{margin-top:24px;padding-top:22px;border-top:1px solid #ebe8f1}.members-section h3{font-size:14px;margin:0 0 16px;color:#556073}
.member-list,.invitation-list{display:flex;flex-direction:column;gap:0}
.member-row,.invitation-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #f0edf5}
.member-row:last-child,.invitation-row:last-child{border-bottom:0}.member-identity{display:flex;flex-direction:column;gap:5px;min-width:0}
.member-identity strong{font-size:12px;font-weight:600;color:#586172;overflow-wrap:anywhere}.member-identity>span{font-size:11px;color:#9695a3;overflow-wrap:anywhere}
.member-identity small{font-size:10px;color:#a499ae;line-height:1.5}.member-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}
.member-controls select{border:1px solid #e0dce9;background:#fff;border-radius:6px;color:#756b86;padding:8px;font-size:11px}
.member-controls .button{font-size:10px;min-height:32px;padding:6px 9px}.member-controls :disabled{opacity:.45;cursor:not-allowed}
.invite-fields{display:grid;grid-template-columns:minmax(0,1fr) 126px auto;gap:12px;align-items:end}.invite-fields .control-group{margin:0}
.invite-fields .button{font-size:11px;min-height:36px}.invitation-created{background:#eff8f3;border:1px solid #d9ebdf;border-radius:9px;padding:17px;margin-top:20px}
.invitation-created>strong{font-size:12px;color:#53745f;overflow-wrap:anywhere}.invitation-created>p{font-size:11px;color:#73927e;line-height:1.7;margin:9px 0 12px}
.invitation-created .copy-row input{font-size:11px;background:#fff}.invitation-created .field-help{margin-bottom:0;color:#7d8e82}
.members-empty{font-size:12px;color:#9b96a7;margin:12px 0}.invitation-row .role-badge{margin-right:4px}.invitation-row>.button{font-size:10px;flex-shrink:0}
@media(max-width:700px){.members-modal{padding:23px}.member-row{align-items:flex-start;flex-wrap:wrap;gap:10px}.member-controls{margin-left:auto}.invite-fields{grid-template-columns:minmax(0,1fr) 115px}.invite-fields>.button{grid-column:1/-1;justify-self:start}.login-layout{padding-top:35px}.workspace-tag{max-width:24vw}}
@media(max-width:500px){.account-button{padding:2px}.app-header .header-actions{gap:4px;margin-left:auto}.app-header .header-actions>.button{font-size:10px;padding:7px}.workspace-tag{display:none}.login-layout{padding:24px 14px}.login-card{padding:28px 23px}.login-card h1{font-size:25px}.member-controls{margin:0;flex-wrap:wrap}.invitation-row{align-items:flex-start;gap:10px}.viewer-form{padding:12px}.members-modal{padding:21px 17px}}
.access-card .notice .button{margin:5px 5px 0 0}.response-management textarea[readonly]{background:#f7f8fb;color:#677183}
.workspace-picker-label{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}
.workspace-picker-label .workspace-switcher-label{margin:0}
.invitation-notice:empty{display:none}
.button.invitation-trigger{display:inline-flex;align-items:center;gap:6px;border:1px solid #897aa7;border-radius:14px;background:#423650;color:#fff;min-height:26px;padding:3px 8px;font-size:11px;line-height:1.25;white-space:nowrap}
.button.invitation-trigger:hover,.button.invitation-trigger:focus-visible{background:#514263}
.invitation-dot{width:7px;height:7px;border-radius:50%;background:#edb568;flex:none}
.received-invitations{margin:0;padding:0;list-style:none}
.received-invitations .member-identity strong{font-size:15px;color:#302d3e}
.received-invitations .member-identity span{font-size:13px;color:#544e61}
.received-invitations .member-identity small{font-size:12px;color:#655e70}
.no-workspaces .invitation-notice{margin-top:12px}
.optional-invite-link summary{cursor:pointer;font-size:13px;color:#42445c}
.optional-invite-link[open] summary{margin-bottom:8px}
.max-settings-entry{display:flex;align-items:center;justify-content:space-between;gap:18px}.max-settings-entry strong{font-size:15px;color:#40445a}.max-settings-entry p{font-size:12px;line-height:1.6;color:#73768a;margin:7px 0 0}.max-settings-entry>.button{flex:none}
.max-modal{width:min(820px,100%)}.max-modal .modal-header{margin-bottom:14px}.max-modal h3{font-size:16px;color:#343a50;margin:0 0 17px}.max-modal h4{font-size:14px;color:#45445c;margin:0 0 10px}.max-modal p{line-height:1.65}.max-modal .control-group>span{display:block;font-size:12px;font-weight:500;margin-bottom:7px;color:#596076}.max-modal .control-group{display:block}.max-modal .control-group select,.max-modal .control-group input,.max-modal .control-group textarea{width:100%;box-sizing:border-box}.max-modal .field-help{color:#6d7183;font-size:12px}.max-modal .modal-description{color:#6b6c7f}.max-modal :disabled{opacity:.5;cursor:not-allowed}.max-modal code{font-size:12px;overflow-wrap:anywhere}
.max-toolbar,.max-destination{display:flex;justify-content:space-between;align-items:center;gap:16px}.max-toolbar{font-size:13px;padding:12px 0}.max-destination{padding:14px;background:#f7f6fa;border-radius:8px;margin-bottom:12px}.max-destination p{margin:0;font-size:12px;overflow-wrap:anywhere}.max-destination>.button{flex:none}.max-section{padding:25px 0;border-top:1px solid #e9e6f0}.max-section:last-child{padding-bottom:0}.max-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:12px}.max-save-state{font-size:12px;color:#687083}.max-simulation,.max-warning{background:#fff6dc;border:1px solid #e7cc84;border-radius:7px;padding:12px 15px;color:#65501a;font-size:13px}.max-notice{padding:12px 15px;border:1px solid #b8ddc7;background:#f1faf5;border-radius:7px;font-size:13px;color:#285e40}
.max-fields{margin:0 0 12px;padding:12px 14px;border:1px solid #ddd9e6;border-radius:8px;max-height:260px;overflow:auto}.max-fields legend{font-size:12px;font-weight:600;padding:0 5px;color:#53566e}.max-fields label{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:13px;color:#474c61;cursor:pointer}.max-fields input{margin-top:3px;accent-color:#65558d}.max-fields label>span{min-width:0;overflow-wrap:anywhere}.max-fields small{color:#787789;font-size:11px;margin-left:5px}.max-fields code{display:block;margin-top:3px;color:#8a8597;font-size:10px}.max-token-help{padding:10px 13px;background:#f8f7fb;border-radius:7px;color:#65677c;font-size:12px;line-height:1.7}.max-token-help summary{cursor:pointer;color:#514469;font-weight:500}.max-token-help p{margin:10px 0 0}.max-preview{background:#f5f7fa;padding:14px;border:1px solid #dde3eb;border-radius:8px;margin-top:16px;font-size:12px}.max-preview>strong{color:#636878;font-size:12px}.max-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 inherit;color:#393f54;margin:12px 0 0;max-height:300px;overflow:auto}
.max-pairing{margin-top:16px;padding:19px;border:1px solid #dbd4e9;border-radius:8px;background:#fcfbfe}.max-pairing>p,.max-test>p{font-size:12px;color:#696d80}.max-pairing>.control-group{margin-top:16px}.max-pairing>.button{margin-right:8px}.max-confirmation{padding:15px;margin-top:16px;background:#fff;border:1px solid #aa99c6;border-radius:8px}.max-confirmation>p{font-size:13px;margin:0}.max-test{padding-top:20px;margin-top:22px;border-top:1px dashed #dbd6e5}.max-test>p{margin:8px 0 12px}.max-deliveries{list-style:none;padding:0;margin:12px 0 0}.max-deliveries>li{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #efedf4}.max-deliveries>li:last-child{border-bottom:0}.max-deliveries li>div{min-width:0}.max-deliveries strong{display:block;font-size:12px;color:#50556b;overflow-wrap:anywhere}.max-deliveries div>span,.max-deliveries small{display:block;margin-top:6px;font-size:11px;color:#75778a;overflow-wrap:anywhere}.max-delivery-state{flex:none;border-radius:14px;padding:5px 9px;background:#f1eff6;color:#686078;font-size:11px;white-space:nowrap}.max-state-sent{background:#e9f5ed;color:#3c7351}.max-state-review{background:#fff1d6;color:#86632c}.max-state-retry{background:#edf1fc;color:#4e628d}.max-state-cancelled{background:#f2f2f4;color:#797981}
@media(max-width:600px){.max-modal{padding:22px 17px}.max-settings-entry,.max-destination{align-items:flex-start;flex-direction:column}.max-settings-entry .button{width:100%}.max-pairing{padding:14px}.max-deliveries>li{flex-wrap:wrap}.max-delivery-state{order:-1}.max-deliveries li>div{width:100%}.max-fields{max-height:220px}}

/* Form integrations keep Settings in view while a focused setup opens on the right. */
html:has(.integration-drawer),body:has(.integration-drawer){overflow:hidden;overscroll-behavior:none}
.max-channel-steps{display:grid;gap:.65rem;padding-inline-start:1.4rem;margin:.75rem 0 1rem}
.max-channel-steps li,.max-id-help{font-size:.8rem;line-height:1.6;color:#66536e;overflow-wrap:anywhere}
.max-channel-steps li::marker{color:#876592;font-weight:600}
.max-channel-steps a{color:#69497f;text-decoration:underline}
.max-id-help{margin:.8rem 0 1rem}
.max-id-help summary{cursor:pointer}
.max-id-help p{margin:.5rem 0}

.max-template-editor {
  --chip-fill: #f3ecf9;
  --chip-line: #dccde9;
  --chip-ink: #614277;
  display: grid;
  gap: 12px;
  min-width: 0;
}
.max-template-editor .is-system {
  --chip-fill: #edf3f7;
  --chip-line: #ccdbe4;
  --chip-ink: #395b70;
}
.max-capsule-palette {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e0dbe6;
  border-radius: 10px;
}
.max-palette-group h5,
.max-canvas-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4d425b;
}
.max-canvas-label { margin: 2px 0 -6px; }
.max-palette-items { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; min-width: 0; }
.max-palette-group.is-fields .max-palette-items { max-height: 136px; overflow-y: auto; padding: 3px; }
.max-palette-group + .max-palette-group { padding-top: 10px; border-top: 1px solid #eae6ef; }
.max-palette-item, .max-capsule {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  background: var(--chip-fill);
  color: var(--chip-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: grab;
  vertical-align: middle;
}
.max-palette-item { min-height: 28px; }
.max-template-editor .max-palette-item > button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: grab;
}
.max-template-editor input[type=checkbox] {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #79548c;
  cursor: pointer;
}
.max-template-editor .is-system input { accent-color: #496d83; }
.max-capsule.is-muted { border-style: dashed; background: #faf9fb; color: #736d79; }
.max-capsule.is-muted .max-capsule-label { text-decoration: line-through; }
.max-capsule.is-dragging, .max-palette-item.is-dragging { opacity: .55; }
.max-capsule-label, .max-palette-item > button { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.max-template-editor :focus-visible { outline: 2px solid #825b9b; outline-offset: 2px; }
.max-message-canvas {
  min-height: 152px;
  max-height: 360px;
  overflow: auto;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #c8bed2;
  border-radius: 8px;
  background: white;
  color: #383343;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.85;
  cursor: text;
}
.max-template-editor .max-template-help,
.max-template-editor .max-template-status { margin: 0; font-size: 12px; color: #62596b; }
.max-template-editor .max-template-status:empty { display: none; }
@media (pointer: coarse) {
  .max-palette-item, .max-capsule { min-height: 32px; padding-inline: 8px; }
  .max-template-editor input[type=checkbox] { width: 17px; height: 17px; }
}
.integrations-section{padding-top:28px!important}.integration-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.integration-section-heading .eyebrow{font-size:9px;letter-spacing:1.4px;margin:0 0 7px;color:#8e7f9f}.integration-section-heading h3{font-size:21px!important;font-weight:600!important;letter-spacing:-.4px!important;margin:0!important;color:#3d4259!important}.integration-count{background:#f4f1f8;border:1px solid #e6e0ef;border-radius:14px;color:#887c99;padding:4px 9px;font-size:10px;white-space:nowrap}.integration-section-description{font-size:12px;line-height:1.7;color:#7d7e8d;margin:11px 0 20px}.integration-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.integration-card{display:flex;flex-direction:column;border:1px solid #e3dfee;border-radius:12px;padding:20px;background:linear-gradient(145deg,#fff,#fdfbff);box-shadow:0 3px 12px #51416404;min-width:0}.integration-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.integration-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;flex:none}.integration-icon svg,.integration-heading-icon svg{width:26px;height:26px}.integration-icon-max{background:#ede8ff;color:#7861cf}.integration-icon-email{background:#e9f3ef;color:#518975}.integration-card h4{margin:0 0 6px;font-size:16px;font-weight:600;color:#41475c}.integration-card p{font-size:12px;color:#858293;line-height:1.7;margin:0 0 18px}.integration-status{font-size:9px;color:#96909e;line-height:1.4;text-align:right;max-width:105px}.integration-status.is-active{color:#4c8a68}.integration-status.is-active:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#65aa80;margin:0 5px 1px 0}.integration-status.is-paused{color:#9a7a47}.integration-card-footer{margin-top:auto}.integration-card-footer .button{justify-content:space-between;width:100%;font-size:11px;color:#746584;border-color:#ded8ea}.integration-footnote{font-size:10px!important;margin:17px 0 0;color:#9b92a8!important}.integration-card .read-only-label{white-space:normal;font-size:10px}
.integration-overlay{padding:0;justify-content:flex-end;align-items:stretch;background:#26203245;backdrop-filter:blur(2px)}.modal.integration-drawer{display:flex;flex-direction:column;width:min(560px,100%);height:100dvh;max-height:100dvh;padding:0;border-radius:0;overflow:hidden;box-shadow:-20px 0 80px #211a2b20}.integration-drawer .modal-header{padding:26px 28px 22px;border-bottom:1px solid #eae5f1;margin:0;flex:none;background:#fff}.integration-drawer .modal-header .eyebrow{font-size:9px;letter-spacing:1.5px;color:#a498af;margin-bottom:12px}.integration-drawer .modal-header h2{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:600;color:#453e55}.integration-heading-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px}.integration-heading-icon svg{width:22px;height:22px}.integration-drawer .modal-close{border:0;background:#f6f3f9;color:#998ba9;width:32px;height:32px;border-radius:50%;font-size:20px}.integration-controller{display:flex;flex-direction:column;min-height:0;flex:1}.integration-steps{flex:none;padding:19px 28px;background:#fcfbfd;border-bottom:1px solid #eeeaf3}.integration-steps ol{display:flex;gap:8px;padding:0;margin:0;list-style:none}.integration-steps li{flex:1;min-width:0}.integration-steps button{width:100%;display:flex;gap:7px;align-items:center;justify-content:flex-start;border:0;background:none;padding:2px 0;font-size:10px;color:#a59cad;white-space:nowrap}.integration-steps button>span{display:grid;place-items:center;width:23px;height:23px;background:#f0edf4;border:1px solid #e6e0ed;border-radius:50%;font-size:10px;flex:none}.integration-steps button[aria-current=step]{color:#72568f;font-weight:600}.integration-steps button[aria-current=step]>span{color:white;background:#9976b5;border-color:#9976b5;box-shadow:0 2px 7px #9775b62b}.integration-body{flex:1;min-height:0;overflow:auto;padding:10px 28px 28px;overscroll-behavior:contain;scrollbar-gutter:stable}.integration-body>.max-simulation{margin:16px 0 4px;font-size:10px;padding:8px 11px}.integration-drawer .max-toolbar{padding:9px 0 13px;font-size:10px;color:#9b90a8}.integration-drawer .max-toolbar .button{font-size:10px;padding:3px 8px;min-height:26px;border-color:transparent;background:transparent;color:#9a8aa9}.integration-drawer .max-section{padding:24px 0;border-color:#eeeaf3}.integration-drawer .integration-step{padding-top:9px;border:0}.integration-step>.eyebrow{font-size:9px;color:#b7a9bf;letter-spacing:1.5px;margin:0 0 8px}.integration-drawer .integration-step h3{font-size:22px;color:#514559;line-height:1.35;font-weight:550;letter-spacing:-.55px;margin:0 0 12px}.integration-step-description{font-size:12px;line-height:1.7;color:#978c9e;margin:0 0 24px}.integration-drawer .control-group{margin-bottom:17px}.integration-drawer .control-group>span{font-size:11px;color:#82728f;font-weight:500;margin-bottom:6px}.integration-drawer .control-group input,.integration-drawer .control-group select,.integration-drawer .control-group textarea{font-size:12px;color:#63526f;border-color:#e5deec;border-radius:7px;padding:10px 11px;background:#fff}.integration-drawer .control-group input::placeholder{color:#bcb0c6}.integration-drawer .control-group textarea{line-height:1.8;min-height:145px;resize:vertical}.integration-drawer .field-help{font-size:10px;line-height:1.8;color:#a092ab}.integration-drawer .button{font-size:11px;border-radius:7px;color:#8b719d;border-color:#ded4e8;min-height:36px}.integration-drawer .button.primary{background:#9974b3;border-color:#9974b3;color:white;box-shadow:none}.integration-drawer .button.primary:hover{background:#8b64a6}.integration-drawer .default-checkbox{font-size:11px;color:#7e6b8b;line-height:1.7;align-items:flex-start}.integration-drawer input[type=checkbox]{accent-color:#9974b3}.integration-drawer .max-fields{border-color:#e7dfed;padding:8px 12px;border-radius:8px;max-height:200px}.integration-drawer .max-fields legend{font-size:10px;color:#8b7997}.integration-drawer .max-fields label{font-size:12px;color:#786385;padding:7px 0}.integration-drawer .max-fields small{color:#b1a1bc;font-size:9px}.integration-drawer .max-token-help{background:#faf7fc;font-size:10px}.integration-drawer .max-preview{background:#fbf9fc;border-color:#e7deed;padding:16px;margin:16px 0 23px}.integration-drawer .max-preview>strong{font-size:9px;color:#ac9cb6;font-weight:500}.integration-drawer .max-preview pre{font-family:inherit;font-size:12px;line-height:1.8;color:#766082;max-height:260px}.integration-drawer .email-preview h4{font-size:13px;font-weight:600;color:#6b517b;margin:16px 0 12px;padding-bottom:12px;border-bottom:1px solid #ece4f0}.integration-drawer .email-preview pre{margin-top:0}.integration-footer{flex:none;background:#fff;border-top:1px solid #e8e1ee;padding:16px 28px 22px;box-shadow:0 -4px 18px #523d6805}.integration-footer>span{display:block;font-size:10px;color:#aa9ab4;margin-bottom:10px}.integration-footer-actions{display:flex;justify-content:space-between;gap:10px}.integration-footer-actions>.button{min-width:99px}.integration-footer-actions>.primary{min-width:146px}.integration-note{margin-top:24px;padding:16px;border:1px solid #e9e3ef;border-radius:8px;background:#fbf9fc}.integration-note strong{font-size:11px;color:#8b7799;font-weight:500}.integration-note p{font-size:10px;line-height:1.8;color:#a495b0;margin:7px 0 0}.email-recipient-row{display:flex;align-items:flex-end;gap:9px;margin-bottom:12px}.email-recipient-row .control-group{flex:1;min-width:0;margin:0}.email-recipient-row>.button{min-width:36px;padding:7px;font-size:18px;height:38px;color:#b29fc0;background:#fbf8fd}.email-recipients{margin-bottom:14px}.integration-review-summary{display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid #e9e1ee;border-radius:8px;background:#fdfbfe}.integration-review-summary>span{font-size:10px;color:#a18ead;line-height:1.6}.integration-review-summary>strong{font-size:12px;font-weight:500;line-height:1.7;color:#7a618a;overflow-wrap:anywhere}.integration-enable{margin:15px 0 7px}.integration-token-list{margin:0 0 13px}.integration-token-list>p{font-size:10px;color:#9e8dab;margin:0 0 8px}.integration-token-list>div{display:flex;flex-wrap:wrap;gap:6px}.integration-drawer .integration-token-list .button{font-size:9px;min-height:27px;padding:4px 8px;border-color:#e9e1ef;background:#faf7fc;color:#9a83aa}.integration-unavailable{padding:20px 0}.integration-unavailable h3{font-size:20px;margin:0 0 14px}.integration-unavailable p{font-size:12px;color:#9889a3;line-height:1.8}.integration-unavailable .button{margin-top:14px}.integration-drawer .max-test{margin-top:22px;padding-top:22px;border-color:#e9e0ef}.integration-drawer .max-test h4{font-size:13px;color:#8a709b}.integration-drawer .max-test>p{font-size:11px;color:#a28db0}.integration-drawer .max-deliveries>li{flex-wrap:wrap;gap:8px}.integration-drawer .max-delivery-state{font-size:9px}.integration-drawer .max-deliveries li>div{width:100%}.integration-drawer .max-deliveries strong{font-size:11px;color:#887395}.integration-drawer .max-deliveries div>span,.integration-drawer .max-deliveries small{font-size:10px;color:#a08bae}.integration-drawer .max-confirmation{border-color:#d4bfdc;background:#fff}.integration-drawer .max-confirmation>p{font-size:11px;color:#91709d;overflow-wrap:anywhere}.integration-drawer .max-destination{background:#faf7fc;padding:12px;gap:10px}.integration-drawer .max-destination p{font-size:11px;color:#9582a3}.integration-drawer .max-pairing{padding:15px;background:#fcfafe;border-color:#e2d6eb}.integration-drawer .max-pairing>p{font-size:11px;color:#9f8bae}.integration-drawer .max-warning{font-size:11px}.integration-drawer .max-notice{font-size:11px}.integration-drawer .max-section:last-child{padding-bottom:0}.integration-drawer .integration-scope-note{padding-top:15px;border-top:1px solid #f0e9f4;margin-top:22px}
@media(max-width:600px){.integration-cards{grid-template-columns:1fr}.integration-card{padding:18px}.integration-card-top{margin-bottom:13px}.modal.integration-drawer{width:100%;padding:0;max-height:100dvh;border-radius:0}.integration-drawer .modal-header{padding:20px}.integration-steps{padding:16px 20px}.integration-steps button{font-size:9px;gap:5px}.integration-body{padding:10px 20px 24px}.integration-footer{padding:13px 20px max(17px,env(safe-area-inset-bottom))}.integration-drawer .integration-step h3{font-size:21px}.integration-drawer .max-destination{align-items:stretch}.integration-drawer .max-destination>.button{align-self:flex-start}.integration-footer-actions>.primary{min-width:145px}}

/* The host helper enables this layout only after it can size the frame. */
html.cityform-embedded,
.cityform-embedded body,
.cityform-embedded #app,
.cityform-embedded .public-page {
  height: auto;
  min-height: 0;
}
html.cityform-embedded,
.cityform-embedded body {
  background: transparent;
  overflow: clip;
}
.cityform-embedded .public-page {
  display: flow-root;
  padding: 0;
}
.cityform-embedded .public-page:not(.has-form-backdrop) {
  background-color: transparent !important;
}
.cityform-embedded .rendered-form {
  box-shadow: none;
  padding: clamp(14px, 3.5vw, 28px) clamp(8px, 2.5vw, 22px);
}
.cityform-embedded .public-page.has-form-backdrop {
  padding: clamp(12px, 3vw, 24px);
}
.cityform-embedded .consent-dialog[open] {
  inset: auto;
  top: var(--cityform-dialog-center, 50%);
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(680px, calc(100% - 32px));
  max-height: calc(var(--cityform-visible-height, 100vh) - 24px);
  overflow: auto;
}

.rendered-form .field-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.rendered-form .field-title-row > :first-child { min-width: 0; }
.rendered-form .field-legend { width: 100%; padding: 0; }
.rendered-form .field-label p:last-of-type:has(+ .required-marker) { display: inline; }
.rendered-form .field-help p { margin: 0; }
.rendered-form .field-help p + p { margin-top: .5em; }
.rendered-form textarea[style*="--textarea-height"] { min-height: 32px; height: var(--textarea-height); }
.field-hint-anchor {
  position: relative;
  display: inline-flex;
  flex: none;
  margin-inline-start: auto;
}
.field-hint-anchor:has(.field-hint-trigger[aria-expanded="true"]) { z-index: 4; }
.field-hint-trigger {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--form-secondary, #495665);
  cursor: help;
}
.field-hint-trigger > span {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  font: bold 13px/16px Georgia, serif;
}
.field-hint-trigger:hover, .field-hint-trigger[aria-expanded="true"] {
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.field-hint-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.field-hint-panel:not([hidden]) {
  display: block;
  position: absolute;
  z-index: 4;
  top: 100%;
  width: min(20rem, calc(100vw - 24px));
  box-sizing: border-box;
  max-height: min(24rem, 45vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 16px #18212d30;
  color: #fff;
  background: #263442;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: start;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.field-hint-panel.above { top: auto; bottom: 100%; }
.field-hint-panel.measuring:not([hidden]) {
  position: fixed;
  inset: 0 auto auto 0;
  visibility: hidden;
}
@media (pointer: coarse) {
  .field-hint-trigger { width: 44px; height: 44px; }
}
.rendered-form .field-label:has(+ .field-help) { margin-bottom: 4px; }
/* Apply the field owner's color to authored copy, including imported rich text. */
.rendered-form [data-custom-ink] {
  --form-text-color: var(--field-text);
  --form-secondary: var(--field-text);
  color: var(--field-text);
}
.rendered-form [data-custom-ink] :is(.field-label, .rich-content, .field-help, .checkbox-control, .radio-control, .progress-caption, h2) [style*="color:"]:not(a, a *) {
  color: var(--field-text) !important;
}
.rendered-form [data-custom-ink] :is(.consent-notice, .button) {
  color: var(--field-text);
}
.rendered-form .render-column,
.rendered-form .render-field {
  min-width: 0;
}
.form-canvas .field-card :is(.inline-edit, .inline-heading, .inline-paragraph) {
  color: var(--field-text, var(--form-text, #263442));
}
.form-canvas .field-card :is(.inline-help, .inline-placeholder, .field-help) {
  color: var(--field-text, var(--form-secondary, #495665));
}
.text-color-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.text-color-controls input[type=color] {
  flex: 0 0 42px;
  width: 42px;
  height: 36px;
  padding: 3px;
  cursor: pointer;
}
.text-color-controls input[type=text] {
  flex: 1 1 7ch;
  width: 9ch;
  min-width: 8ch;
}
.field-color-shortcut { opacity: 0; }
.field-presentation .field-setting-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  cursor: pointer;
  font-weight: 600;
}
.field-setting-switch input[type=checkbox] {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
}
.field-setting-details:not([hidden]) {
  border-inline-start: 2px solid #e2dfed;
  padding-inline-start: 12px;
}
.field-card .builder-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 2px 5px;
  min-height: 28px;
  min-width: 28px;
  background: transparent;
  color: var(--field-text, var(--form-text));
  font-size: 16px;
  cursor: pointer;
}
@media (pointer: coarse) {
  .field-presentation .field-setting-switch, .field-card .builder-info-button { min-height: 44px; }
  .field-card .builder-info-button { min-width: 44px; }
}
.field-card:is(:hover, :focus-within, .selected) .field-color-shortcut,
.field-color-shortcut:focus-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .field-color-shortcut { opacity: 1; }
}
