:root{--ayr-black:#232323;--ayr-blue:#1A73E8;--ayr-blue-dark:#1763C8;--ayr-red:#F95A5A;--ayr-red-dark:#E34545;--ayr-sky:#DCEAFF;--ayr-mist:#CAD1D8;--ayr-paper:#FFFFFF;--ayr-blue-soft:#DCEAFF;--ayr-ink:var(--ayr-black);--ayr-ink-soft:#3A3A3A;--ayr-muted:#5A5A5A;--ayr-muted-2:#7A7A7A;--ayr-line:#E3E6EA;--ayr-line-soft:#ECEEF1;--ayr-bg:#F4F6F9;--ayr-surface:var(--ayr-paper);--ayr-green:#234923;--ayr-success-bg:#E6EFE4;--ayr-success-fg:#234923;--ayr-error-bg:#FDECEC;--ayr-error-fg:#B42318;--ayr-warn-bg:#FFF7E6;--ayr-warn-fg:#B45309;--ayr-radius:10px;--ayr-radius-lg:16px;--ayr-shadow-sm:0 1px 2px rgba(35,35,35,0.06);--ayr-shadow-md:0 4px 16px rgba(35,35,35,0.08);--ayr-shadow-focus:0 0 0 3px rgba(26,115,232,0.30)}*,:after,:before{box-sizing:border-box;margin:0;padding:0}body,html{font-family:var(--font-dm-sans),-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;background:var(--ayr-bg);color:var(--ayr-ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4{font-weight:600;letter-spacing:-.01em;color:var(--ayr-ink)}h1{font-size:1.5rem}h2{font-size:1.05rem}a{color:var(--ayr-blue);text-decoration:none}a:hover{color:var(--ayr-blue-dark)}.container{max-width:1080px}.container,.container-wide{margin:0 auto;padding:2rem 1.25rem}.container-wide{max-width:1400px}nav{background:var(--ayr-surface);border-bottom:1px solid var(--ayr-line);padding:0 1.5rem;justify-content:space-between;height:64px}nav,nav .logo{display:flex;align-items:center}nav .logo{font-weight:600;font-size:.95rem;letter-spacing:-.01em;color:var(--ayr-muted);gap:.75rem;text-decoration:none}nav .logo img{height:24px;width:auto}[role=banner] img,header img,nav img{max-height:28px;width:auto}nav .user-info{font-size:.875rem;color:var(--ayr-muted);display:flex;gap:1.25rem;align-items:center}nav .user-info span{color:var(--ayr-ink-soft)}nav .sign-out{font-size:.85rem;color:var(--ayr-muted);cursor:pointer;background:none;border:none;font-family:inherit;padding:.4rem .75rem;border-radius:6px;transition:all .15s}nav .sign-out:hover{color:var(--ayr-ink);background:var(--ayr-line-soft)}.nav-search{position:relative;display:flex;align-items:center}.nav-search-trigger{background:none;border:none;cursor:pointer;padding:.4rem;color:var(--ayr-muted);border-radius:6px;display:flex;align-items:center;transition:color .15s,background .15s}.nav-search-trigger:hover{color:var(--ayr-ink);background:var(--ayr-line-soft)}.nav-search-box{display:flex;align-items:center;gap:.4rem;background:var(--ayr-bg);border:1px solid var(--ayr-line);border-radius:8px;padding:.3rem .6rem;color:var(--ayr-muted);width:220px}.nav-search-input{flex:1 1;border:none;background:transparent;outline:none;font-size:.85rem;color:var(--ayr-ink);font-family:inherit}.nav-search-input::placeholder{color:var(--ayr-muted)}.nav-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--ayr-surface);border:1px solid var(--ayr-line);border-radius:8px;list-style:none;margin:0;padding:.25rem 0;box-shadow:0 4px 16px rgba(0,0,0,.08);z-index:200;min-width:260px}.nav-search-result{display:flex;flex-direction:column;gap:.1rem;padding:.5rem .75rem;cursor:pointer;transition:background .1s}.nav-search-result.active,.nav-search-result:hover{background:var(--ayr-line-soft)}.nav-search-name{font-size:.875rem;color:var(--ayr-ink);font-weight:500}.nav-search-domain{font-size:.75rem;color:var(--ayr-muted)}.lang-toggle{display:inline-flex;align-items:center;gap:.3rem;background:none;border:none;cursor:pointer;font-family:inherit;font-size:.85rem;color:var(--ayr-muted);padding:.25rem .5rem;border-radius:6px;transition:color .15s}.lang-toggle:hover{color:var(--ayr-ink)}.lang-toggle .lang-active{color:var(--ayr-ink);font-weight:600}.lang-toggle .lang-sep{color:var(--ayr-muted-2)}.app-grid-wrapper{position:relative}.app-grid-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;color:var(--ayr-muted);padding:.35rem;border-radius:6px;transition:color .15s,background .15s}.app-grid-btn--open,.app-grid-btn:hover{color:var(--ayr-ink);background:var(--ayr-line-soft)}.app-grid-overlay{position:absolute;top:calc(100% + 8px);right:0;background:var(--ayr-surface);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);box-shadow:var(--ayr-shadow-md);padding:1rem;min-width:220px;z-index:200}.app-grid-items{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:.25rem;gap:.25rem}.app-grid-item{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.75rem .5rem;border-radius:8px;text-decoration:none;color:var(--ayr-ink-soft);transition:background .12s,color .12s}.app-grid-item:hover{background:var(--ayr-line-soft);color:var(--ayr-ink)}.app-grid-item--active{background:var(--ayr-sky);color:var(--ayr-blue)}.app-grid-item--active:hover{background:var(--ayr-sky);color:var(--ayr-blue-dark)}.app-grid-icon{font-size:1.4rem;line-height:1}.app-grid-item-badge{position:absolute;top:-4px;right:-6px;background:var(--ayr-red);color:#fff;font-size:.6rem;font-weight:700;line-height:1;padding:2px 4px;border-radius:9999px;min-width:16px;text-align:center}.app-grid-label{font-size:.75rem;font-weight:500;text-align:center;white-space:nowrap}.app-grid-divider{border:none;border-top:1px solid var(--ayr-line);margin:.75rem 0}.app-grid-admin{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.app-grid-admin-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ayr-muted-2);font-weight:500}.app-grid-admin-link{font-size:.8rem;color:var(--ayr-muted);text-decoration:none;transition:color .12s}.app-grid-admin-link:hover{color:var(--ayr-ink)}.card{background:var(--ayr-surface);border-radius:var(--ayr-radius);border:1px solid var(--ayr-line);padding:1.5rem;box-shadow:var(--ayr-shadow-sm);transition:box-shadow .15s,transform .15s}.card:hover{box-shadow:var(--ayr-shadow-md)}.card h2{font-size:.8rem;color:var(--ayr-muted);margin-bottom:.5rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em}.card .value{font-size:2.25rem;font-weight:700;line-height:1.1;letter-spacing:-.02em}.card .value-sub{font-size:.85rem;color:var(--ayr-muted);margin-top:.25rem}.card .sub{font-size:.8rem;color:var(--ayr-muted-2);margin-top:.5rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:2rem}.upgrade-panel{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg);border:1px solid var(--ayr-line);padding:1.75rem;box-shadow:var(--ayr-shadow-sm);margin-top:2rem}.upgrade-panel h2{margin-bottom:1.25rem;font-size:1.15rem}.upgrade-panel label{display:block;font-size:.85rem;margin-bottom:.4rem;color:var(--ayr-ink-soft);font-weight:500}input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],select{width:100%;padding:.6rem .85rem;border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);font-size:.95rem;font-family:inherit;background:var(--ayr-surface);color:var(--ayr-ink);margin-bottom:1rem;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{outline:none;border-color:var(--ayr-blue);box-shadow:var(--ayr-shadow-focus)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1.25rem;border-radius:var(--ayr-radius);font-size:.9rem;font-weight:600;cursor:pointer;border:none;font-family:inherit;transition:background .15s,transform .05s}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--ayr-ink);color:#fff}.btn-primary:hover{background:var(--ayr-ink-soft)}.btn-primary:disabled{background:var(--ayr-muted-2);cursor:not-allowed}.btn-accent{background:var(--ayr-blue);color:#fff}.btn-accent:hover{background:var(--ayr-blue-dark)}.btn-secondary{background:var(--ayr-surface);color:var(--ayr-ink-soft);border:1px solid var(--ayr-line)}.btn-secondary:hover{background:var(--ayr-bg)}.btn-danger{background:var(--ayr-error-fg);color:#fff}.btn-danger:hover{background:#9b1515}.modal-overlay{position:fixed;inset:0;z-index:100;background:rgba(10,10,10,.45);display:flex;align-items:center;justify-content:center;padding:1rem}.modal{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg);box-shadow:var(--ayr-shadow-md);padding:1.75rem;max-width:420px;width:100%}.modal-title{font-size:1rem;font-weight:600;margin-bottom:.5rem;color:var(--ayr-ink)}.modal-body{font-size:.9rem;color:var(--ayr-ink-soft);margin-bottom:1.5rem;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem}.alert{padding:.85rem 1rem;border-radius:var(--ayr-radius);margin-bottom:1rem;font-size:.9rem;border:1px solid transparent}.alert-success{background:var(--ayr-success-bg);color:var(--ayr-success-fg);border-color:#BFE5CF}.alert-error{background:var(--ayr-error-bg);color:var(--ayr-error-fg);border-color:#F5C2C2}.alert-warn{background:var(--ayr-warn-bg);color:var(--ayr-warn-fg);border-color:#FCD34D}.alert-info{background:var(--ayr-blue-soft);border-color:var(--ayr-line)}.alert-info,.drop-zone{color:var(--ayr-ink-soft)}.drop-zone{border:2px dashed var(--ayr-line);border-radius:var(--ayr-radius-lg);padding:2.5rem 1.5rem;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;background:var(--ayr-surface);margin-bottom:1rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.drop-zone:focus,.drop-zone:hover{border-color:var(--ayr-blue);outline:none}.drop-zone--active{border-color:var(--ayr-blue);background:var(--ayr-blue-soft)}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,var(--ayr-blue-soft) 0,var(--ayr-bg) 60%);padding:1rem}.login-card{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg);padding:2.75rem 2.25rem;width:100%;max-width:400px;border:1px solid var(--ayr-line);box-shadow:var(--ayr-shadow-md);text-align:center}.login-logo{display:block;margin:0 auto 1.5rem;height:auto}.nav-logo{display:block;height:28px;width:auto}.login-card h1{margin-bottom:.5rem;font-size:1.5rem}.login-card p{color:var(--ayr-muted);margin-bottom:2rem;font-size:.9rem}.btn-google{width:100%;padding:.7rem;border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);background:var(--ayr-surface);cursor:pointer;font-size:.95rem;font-weight:500;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:background .15s,border-color .15s}.btn-google:hover{background:var(--ayr-line-soft);border-color:var(--ayr-muted-2)}.spinner{text-align:center;padding:3rem;color:var(--ayr-muted-2)}.spinner,table{font-size:.9rem}table{width:100%;border-collapse:collapse}td,th{padding:.75rem .85rem;text-align:left;border-bottom:1px solid var(--ayr-line)}th{background:var(--ayr-line-soft);font-weight:600;color:var(--ayr-ink-soft);font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}tr:last-child td{border-bottom:none}.data-table td,.data-table th{vertical-align:middle}.page-title,.welcome-hero{margin-bottom:1.75rem}.welcome-hero{position:relative;overflow:hidden;background:var(--ayr-sky);border-radius:var(--ayr-radius-lg);padding:2rem 2.25rem;border:1px solid rgba(26,115,232,.1)}.welcome-hero:before{content:"";position:absolute;inset:0;background-image:url(/ayr-pattern.png);background-repeat:repeat;background-size:180px;opacity:.18;pointer-events:none}.welcome-hero>*{position:relative}.welcome-hero .eyebrow{font-size:.6875rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ayr-blue);margin-bottom:.5rem}.welcome-hero h1{font-size:1.625rem;letter-spacing:-.01em;line-height:1.2;margin-bottom:.5rem;color:var(--ayr-black)}.welcome-hero p{font-size:.95rem;color:var(--ayr-ink-soft);max-width:56ch;margin:0}.hero-domain{font-size:.875rem;color:var(--ayr-muted);margin-top:.15rem;margin-bottom:.35rem}.welcome-hero .meta{display:flex;gap:1.5rem;margin-top:1.25rem;font-size:.85rem;color:var(--ayr-muted);flex-wrap:wrap}.welcome-hero .meta strong{color:var(--ayr-black);font-weight:600}.filter-bar{display:flex;gap:.75rem;margin-bottom:1.75rem;flex-wrap:wrap}.filter-bar input[type=search]{flex:1 1 240px;margin:0}.filter-bar select{min-width:0;width:auto;margin:0;padding-right:2rem}.group-section{margin-bottom:2.25rem}.empty{color:var(--ayr-muted);font-size:.9rem;padding:1rem 0}.customer-picker{margin-bottom:1.5rem}.customer-picker label{display:block;font-size:.85rem;color:var(--ayr-ink-soft);font-weight:500;margin-bottom:.4rem}.customer-picker select{min-width:320px;width:auto;margin:0}.panel-stack{margin-bottom:1.5rem}.role-select{width:auto;padding:.3rem .55rem;font-size:.85rem;margin:0;border-radius:6px}.muted-cell{color:var(--ayr-muted)}.row-actions{text-align:right}.link-btn{background:none;border:none;cursor:pointer;font-family:inherit;font-size:.85rem;color:var(--ayr-error-fg);padding:.3rem .5rem;border-radius:6px;transition:background .15s}.link-btn:hover{background:var(--ayr-error-bg)}.tab-bar{border-bottom:1px solid var(--ayr-line);display:flex;gap:1.5rem;margin-bottom:1.5rem}.tab-button{padding:.75rem 0;background:none;border:none;border-bottom:2px solid transparent;color:var(--ayr-muted);font-weight:400;font-size:.95rem;cursor:pointer;font-family:inherit;transition:color .15s,border-color .15s}.tab-button:hover{color:var(--ayr-ink-soft)}.tab-button.active{color:var(--ayr-ink);font-weight:600;border-bottom-color:var(--ayr-blue)}.module-tab-bar{display:flex;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.module-tab{padding:.35rem .9rem;border-radius:var(--ayr-radius);font-size:.875rem;font-weight:500;color:var(--ayr-muted);text-decoration:none;border:1px solid var(--ayr-line);transition:color .15s,background .15s,border-color .15s}.module-tab:hover{color:var(--ayr-ink-soft);background:var(--ayr-bg)}.module-tab.active{color:var(--ayr-blue);border-color:var(--ayr-blue);background:color-mix(in srgb,var(--ayr-blue) 8%,transparent)}.panel{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg);border:1px solid var(--ayr-line);padding:1.75rem;box-shadow:var(--ayr-shadow-sm)}.panel-title{font-size:1.1rem;font-weight:600;margin-bottom:1rem}.panel-hint{font-size:.9rem;color:var(--ayr-ink-soft);margin-bottom:1.25rem}.dwd-steps{margin-bottom:1.5rem}.dwd-steps p{margin-bottom:.75rem;font-size:.9rem}.copy-block{display:flex;align-items:center;gap:.75rem;background:var(--ayr-bg);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);padding:.5rem .75rem;margin-bottom:.75rem}.copy-block code{flex:1 1;font-size:.8rem;word-break:break-all}.btn-copy{background:none;border:1px solid var(--ayr-line);cursor:pointer;font-family:inherit;font-size:.8rem;color:var(--ayr-ink-soft);padding:.25rem .6rem;border-radius:6px;white-space:nowrap;transition:background .15s}.btn-copy:hover{background:var(--ayr-line)}.btn-text{background:none;border:none;cursor:pointer;font-family:inherit;font-size:.85rem;color:var(--ayr-blue);padding:.3rem .5rem;border-radius:6px;transition:background .15s}.btn-text:hover{background:color-mix(in srgb,var(--ayr-blue) 8%,transparent)}.badge-active,.badge-cancelled,.badge-suspended,.badge-trial{display:inline-block;font-size:.72rem;font-weight:600;padding:.18rem .5rem;border-radius:99px}.badge-active{background:var(--ayr-success-bg);color:var(--ayr-success-fg)}.badge-suspended{background:var(--ayr-warn-bg);color:var(--ayr-warn-fg)}.invite-result{background:var(--ayr-success-bg);border:1px solid var(--ayr-success-fg);border-radius:var(--ayr-radius-lg);padding:1.25rem 1.5rem}.invite-result-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.invite-check{color:var(--ayr-success-fg);font-size:1.1rem}.invite-next-steps{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.temp-password{background:var(--ayr-surface);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);padding:.4rem .75rem;font-size:1rem;letter-spacing:.05em}.name-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.dwd-connected-bar{display:flex;align-items:center;justify-content:space-between;font-size:.9rem;color:var(--ayr-ink-soft)}.email-split-row{display:flex;align-items:center;gap:0;border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);overflow:hidden;margin-bottom:1rem;background:var(--ayr-surface);transition:border-color .15s,box-shadow .15s}.email-split-row:focus-within{border-color:var(--ayr-blue);box-shadow:var(--ayr-shadow-focus)}.email-split-row input[type=text]{flex:1 1;border:none;border-radius:0;margin:0;box-shadow:none;background:transparent}.email-split-row input[type=text]:focus{box-shadow:none;border-color:transparent}.email-at{padding:0 .4rem;color:var(--ayr-muted);font-size:.95rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.email-split-row select{border:none;border-left:1px solid var(--ayr-line);border-radius:0;margin:0;background:var(--ayr-bg);min-width:0;width:auto;padding-left:.6rem;box-shadow:none;color:var(--ayr-ink-soft)}.email-split-row select:focus{box-shadow:none;border-color:transparent}.label-optional{font-weight:400;color:var(--ayr-muted);font-size:.82em}.form-hint{font-size:.82rem;color:var(--ayr-muted);margin-top:.25rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--ayr-ink-soft);margin-bottom:1rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:auto;margin:0;cursor:pointer}.group-heading{font-size:.95rem;font-weight:600;color:var(--ayr-ink);margin-bottom:.75rem;display:flex;align-items:baseline;gap:.5rem}.group-heading .count{color:var(--ayr-muted-2);font-weight:400;font-size:.8rem}.seat-bar{height:4px;border-radius:99px;background:var(--ayr-line);margin-top:.75rem;overflow:hidden}.seat-bar-fill{height:100%;border-radius:99px;transition:width .4s ease}.hero-kpis{display:flex;gap:2rem;margin-top:1.5rem;flex-wrap:wrap}.hero-kpi-value{font-size:1.75rem;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--ayr-black)}.hero-kpi-label{font-size:.7rem;color:var(--ayr-muted);margin-top:.3rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.badge-cancelled{background:var(--ayr-error-bg);color:var(--ayr-error-fg)}.badge-trial{background:var(--ayr-sky);color:var(--ayr-blue)}.help-toc{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-bottom:2.5rem;padding:1rem 1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:10px}.help-toc a{color:var(--ayr-blue);text-decoration:none;font-size:.9rem}.help-toc a:hover{text-decoration:underline}.help-section{margin-bottom:2.5rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}.help-section:last-child{border-bottom:none}.help-section h2{font-size:1.25rem;font-weight:600;margin-bottom:.75rem;color:var(--fg)}.help-section p{margin:.5rem 0 .75rem;line-height:1.6}.help-section ol,.help-section ul{margin:.25rem 0 .75rem 1.5rem;line-height:1.6}.help-section li{margin-bottom:.35rem}.help-code{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.85rem 1rem;font-size:.82rem;white-space:pre;line-height:1.7}.help-code,.help-table-wrap{overflow-x:auto;margin:.5rem 0 .75rem}.help-table{width:100%;border-collapse:collapse;font-size:.9rem}.help-table td,.help-table th{text-align:left;padding:.6rem .85rem;border:1px solid var(--border);line-height:1.5;vertical-align:top}.help-table th{font-weight:600}.consent-gate,.help-table th,.help-table tr:nth-child(2n) td{background:var(--surface)}.consent-gate{border:1px solid var(--border);border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.consent-header{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap}.consent-header h3{margin:0;font-size:1.05rem;font-weight:600}.consent-version{font-size:.78rem;color:var(--ayr-muted)}.consent-body{max-height:280px;overflow-y:auto;border:1px solid var(--border);border-radius:8px;padding:.85rem 1rem;background:var(--bg)}.consent-body pre{margin:0;font-family:inherit;font-size:.875rem;line-height:1.65;white-space:pre-wrap;word-break:break-word}.consent-checkbox{display:flex;align-items:flex-start;gap:.6rem;font-size:.9rem;cursor:pointer;line-height:1.4}.consent-checkbox input[type=checkbox]{margin-top:.15rem;flex-shrink:0;width:1rem;height:1rem;accent-color:var(--ayr-blue)}.consent-actions{display:flex;gap:.75rem;flex-wrap:wrap}.consent-loading{color:var(--ayr-muted);font-size:.9rem}.terms-admin-layout{display:grid;grid-template-columns:280px 1fr;grid-gap:2rem;gap:2rem;align-items:start}@media (max-width:768px){.terms-admin-layout{grid-template-columns:1fr}}.terms-admin-form-wrap h2,.terms-admin-list h2{font-size:1rem;font-weight:600;margin-bottom:1rem}.terms-admin-item{border:1px solid var(--border);border-radius:8px;padding:.75rem 1rem;margin-bottom:.5rem;cursor:pointer;display:flex;flex-direction:column;gap:.2rem}.terms-admin-item:hover{border-color:var(--ayr-blue)}.terms-admin-item strong{font-size:.85rem;font-family:monospace}.terms-admin-item span{font-size:.75rem;color:var(--ayr-muted)}.terms-admin-item-title{font-size:.85rem}.terms-admin-form{display:flex;flex-direction:column;gap:1rem}.terms-admin-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.875rem;font-weight:500}.terms-admin-form input,.terms-admin-form textarea{font-size:.9rem}.terms-admin-form textarea{resize:vertical;font-family:monospace}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem}.form-hint-inline{font-size:.75rem;font-weight:400;color:var(--ayr-muted)}.badge-warning{background:var(--ayr-warn-bg);color:var(--ayr-warn-fg);font-size:.72rem;font-weight:600;padding:.15rem .45rem;border-radius:9999px;white-space:nowrap}.btn-sm{padding:.3rem .7rem;font-size:.8rem}.row-incomplete td{background:var(--ayr-warn-bg)}.row-incomplete td:first-child{border-left:3px solid var(--ayr-warn-fg)}.editing-row td{background:var(--ayr-sky);vertical-align:middle}.inline-input{width:100%;padding:.3rem .5rem;font-size:.875rem;border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);background:#fff}.inline-input:focus{outline:none;border-color:var(--ayr-blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--ayr-blue) 20%,transparent)}.table-wrap{overflow-x:auto}.customer-linking-table td{vertical-align:middle}.rich-text-editor{border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);background:#fff;overflow:hidden}.rich-text-editor.disabled{opacity:.6}.rich-text-editor .ProseMirror{padding:.75rem;min-height:8rem;outline:none}.rich-text-editor .ProseMirror p{margin:0 0 .6em}.rich-text-editor .ProseMirror p:last-child{margin-bottom:0}.rich-text-editor .ProseMirror ol,.rich-text-editor .ProseMirror ul{padding-left:1.5rem;margin:0 0 .6em}.rich-text-editor .ProseMirror li{margin-bottom:.2rem}.rich-text-editor .ProseMirror:focus{box-shadow:inset 0 0 0 2px var(--ayr-blue);border-radius:0}.rich-text-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--ayr-muted-2);pointer-events:none;float:left;height:0}.rte-toolbar{display:flex;gap:.25rem;padding:.4rem .5rem;border-bottom:1px solid var(--ayr-line);flex-wrap:wrap;align-items:center}.rte-toolbar-btn{background:none;border:1px solid transparent;border-radius:4px;padding:.2rem .45rem;font-size:.875rem;cursor:pointer;color:var(--ayr-ink);line-height:1.4;min-width:2rem;text-align:center}.rte-toolbar-btn:hover:not(:disabled){background:var(--ayr-bg);border-color:var(--ayr-line)}.rte-toolbar-btn.active{background:var(--ayr-sky);border-color:var(--ayr-blue);color:var(--ayr-blue)}.rte-toolbar-btn:disabled{opacity:.4;cursor:not-allowed}.rte-toolbar-sep{width:1px;height:1.2rem;background:var(--ayr-line);margin:0 .2rem;flex-shrink:0}.rte-hint{font-size:.75rem;color:var(--ayr-muted-2);margin:.35rem .75rem .5rem}.rte-toolbar-label{font-size:.78rem;color:var(--ayr-muted-2);padding:0 .2rem;align-self:center}.rich-text-content{line-height:1.6}.rich-text-content p{margin-bottom:.5rem}.rich-text-content p:last-child{margin-bottom:0}.rich-text-content p:empty:after{content:"\00a0"}.rich-text-content h2{font-size:1.1rem;font-weight:600;margin:.75rem 0 .4rem}.rich-text-content ol,.rich-text-content ul{padding-left:1.5rem;margin-bottom:.5rem}.rich-text-content li{margin-bottom:.2rem}.rich-text-content a{color:var(--ayr-blue);text-decoration:underline}.rich-text-content strong{font-weight:600}.rich-text-content em{font-style:italic}.rich-text-content img{max-width:100%;border-radius:var(--ayr-radius)}.attachment-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.attachment-chip{display:inline-flex;align-items:center;gap:.3rem;background:var(--ayr-bg);border:1px solid var(--ayr-line);border-radius:9999px;padding:.15rem .5rem .15rem .7rem;font-size:.8rem}.attachment-chip button{background:none;border:none;cursor:pointer;color:var(--ayr-muted);font-size:1rem;line-height:1;padding:0}.attachment-list{display:flex;flex-direction:column;gap:.3rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--ayr-line-soft)}.attachment-link{font-size:.85rem;color:var(--ayr-blue);text-decoration:underline}.consent-wall-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.consent-wall-modal{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg,12px);max-width:680px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 40px rgba(0,0,0,.18)}.consent-wall-progress{display:flex;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid var(--ayr-line);flex-wrap:wrap}.consent-wall-step{font-size:.8rem;color:var(--ayr-muted);padding:.2rem .6rem;border-radius:9999px}.consent-wall-step.active{background:var(--ayr-sky);color:var(--ayr-blue);font-weight:600}.consent-wall-step.done{color:var(--ayr-green,#34a853)}.consent-header{padding:1.25rem 1.5rem 0}.consent-header h2{margin:0 0 .25rem;font-size:1.1rem}.consent-wall-body{flex:1 1;overflow-y:auto;padding:1rem 1.5rem;border:1px solid var(--ayr-line);margin:.75rem 1.5rem;border-radius:var(--ayr-radius);background:var(--ayr-bg)}.consent-wall-body pre{white-space:pre-wrap;font-family:inherit;font-size:.85rem;line-height:1.6;margin:0}.consent-wall-modal .consent-checkbox{padding:0 1.5rem;display:flex;gap:.5rem;align-items:flex-start;font-size:.9rem;cursor:pointer}.consent-wall-modal .consent-checkbox input{margin-top:.15rem;flex-shrink:0}.consent-wall-modal .consent-actions{padding:1rem 1.5rem 0}.consent-wall-note{padding:.5rem 1.5rem 1.25rem;font-size:.8rem;color:var(--ayr-muted);margin:0}.wizard-steps{display:flex;gap:0;margin-bottom:2rem;border-bottom:2px solid var(--ayr-line);padding-bottom:0;flex-wrap:wrap}.wizard-step{display:flex;align-items:center;gap:.4rem;padding:.6rem 1rem .75rem;font-size:.875rem;color:var(--ayr-muted);border-bottom:2px solid transparent;margin-bottom:-2px}.wizard-step.active{color:var(--ayr-blue);border-bottom-color:var(--ayr-blue);font-weight:600}.wizard-step.done{color:var(--ayr-green,#34a853)}.wizard-step-num{width:1.4rem;height:1.4rem;border-radius:50%;background:var(--ayr-bg);border:1px solid;display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}.wizard-step.active .wizard-step-num{background:var(--ayr-blue);border-color:var(--ayr-blue);color:#fff}.wizard-step.done .wizard-step-num{background:var(--ayr-green,#34a853);border-color:var(--ayr-green,#34a853);color:#fff}.onboarding-form{max-width:600px;display:flex;flex-direction:column;gap:1.25rem}.onboarding-form h2{margin:0 0 .25rem}.onboarding-form .form-actions{display:flex;gap:.75rem;padding-top:.5rem}.signup-page{min-height:100vh;background:var(--ayr-bg);display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.signup-card{background:var(--ayr-surface);border-radius:var(--ayr-radius-lg);box-shadow:var(--ayr-shadow-md);width:100%;max-width:560px;padding:2.5rem 2rem}.signup-logo{margin-bottom:.75rem}.signup-logo-text{color:var(--ayr-black);letter-spacing:-.02em}.signup-logo-text,.signup-title{font-size:1.5rem;font-weight:700}.signup-title{margin:0 0 1.5rem}.signup-steps{display:flex;gap:0;margin-bottom:2rem;border-bottom:2px solid var(--ayr-line);flex-wrap:wrap}.signup-step{display:flex;align-items:center;gap:.4rem;padding:.5rem .75rem .65rem;font-size:.82rem;color:var(--ayr-muted);border-bottom:2px solid transparent;margin-bottom:-2px}.signup-step.active{color:var(--ayr-blue);border-bottom-color:var(--ayr-blue);font-weight:600}.signup-step.done{color:var(--ayr-green,#34a853)}.signup-step-dot{width:1.3rem;height:1.3rem;border-radius:50%;background:var(--ayr-bg);border:1.5px solid;display:flex;align-items:center;justify-content:center;font-size:.7rem;flex-shrink:0}.signup-step.active .signup-step-dot{background:var(--ayr-blue);border-color:var(--ayr-blue);color:#fff}.signup-step.done .signup-step-dot{background:var(--ayr-green,#34a853);border-color:var(--ayr-green,#34a853);color:#fff}.signup-section{display:flex;flex-direction:column;gap:1.1rem}.signup-section h2{margin:0 0 .25rem;font-size:1.1rem}.signup-hint{font-size:.875rem;color:var(--ayr-muted);margin:0}.signup-product-card{border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);overflow:hidden}.signup-product-header{display:flex;align-items:center;gap:.75rem;padding:1rem;cursor:pointer;background:var(--ayr-bg)}.signup-product-header input[type=checkbox]{flex-shrink:0;width:1rem;height:1rem}.signup-product-header strong{display:block;font-size:.95rem}.signup-product-header span{font-size:.82rem;color:var(--ayr-muted)}.signup-product-config{padding:1rem;display:flex;flex-direction:column;gap:.9rem;border-top:1px solid var(--ayr-line)}.signup-summary{margin-top:1.25rem;border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);overflow:hidden}.signup-summary-row{display:flex;justify-content:space-between;padding:.6rem .9rem;font-size:.875rem;border-bottom:1px solid var(--ayr-line-soft)}.signup-summary-row:last-child{border-bottom:none}.signup-summary-row span{color:var(--ayr-muted)}.signup-nav{display:flex;gap:.75rem;justify-content:flex-end;margin-top:2rem;padding-top:1.25rem;border-top:1px solid var(--ayr-line)}.signup-done{text-align:center;padding:1rem 0}.signup-done-icon{width:3.5rem;height:3.5rem;border-radius:50%;background:var(--ayr-success-bg);color:var(--ayr-success-fg);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin:0 auto 1.25rem}.signup-done h2{margin:0 0 1rem;font-size:1.25rem}.signup-done p{color:var(--ayr-muted);margin:0 0 .5rem;font-size:.925rem;line-height:1.5}.signup-orgnr-row{display:flex;align-items:center;gap:.6rem}.signup-orgnr-row input{flex:1 1}.signup-brreg-status{font-size:.78rem;white-space:nowrap;padding:.15rem .5rem;border-radius:9999px}.signup-brreg-status.loading{background:var(--ayr-bg);color:var(--ayr-muted)}.signup-brreg-status.found{background:var(--ayr-success-bg);color:var(--ayr-success-fg)}.signup-brreg-status.error{background:var(--ayr-error-bg);color:var(--ayr-error-fg)}.dwd-scopes-box{background:var(--ayr-bg);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);padding:.75rem 1rem;font-size:.8rem;word-break:break-all}.pipeline-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1rem;gap:1rem;align-items:start}@media (max-width:900px){.pipeline-grid{grid-template-columns:1fr}}.pipeline-column{background:var(--ayr-bg);border-radius:var(--ayr-radius);padding:.75rem}.pipeline-column-header{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:.625rem;border-bottom:2px solid var(--ayr-line);margin-bottom:.75rem}.pipeline-stage-name{font-weight:600;font-size:.875rem;color:var(--ayr-ink)}.pipeline-stage-meta{font-size:.775rem;color:var(--ayr-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pipeline-column-body{display:flex;flex-direction:column;gap:.625rem}.deal-card{background:var(--ayr-surface);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);padding:.875rem 1rem;cursor:pointer;transition:box-shadow .12s,transform .1s}.deal-card:hover{box-shadow:var(--ayr-shadow-md);transform:translateY(-1px)}.deal-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.2rem}.deal-account{font-weight:600;font-size:.9rem;line-height:1.3;color:var(--ayr-ink)}.deal-pipeline-badge{font-size:.65rem;font-weight:600;padding:.1rem .4rem;border-radius:9999px;white-space:nowrap;flex-shrink:0}.deal-pipeline-badge.new_customers{background:var(--ayr-sky);color:var(--ayr-blue)}.deal-pipeline-badge.existing_customers{background:var(--ayr-success-bg);color:var(--ayr-success-fg)}.deal-name{font-size:.8rem;color:var(--ayr-muted);margin-bottom:.4rem}.deal-value{font-size:.925rem;font-weight:600;color:var(--ayr-ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin-bottom:.5rem}.deal-card-footer{display:flex;align-items:center;gap:.5rem}.owner-avatar{width:22px;height:22px;border-radius:50%;background:var(--ayr-mist);color:var(--ayr-ink-soft);font-size:.6rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.deal-close-date{font-size:.775rem;color:var(--ayr-muted)}.deal-close-date.overdue{color:var(--ayr-error-fg)}.deal-activity{font-size:.75rem;color:var(--ayr-muted-2);margin-left:auto}.pipeline-empty-col{color:var(--ayr-muted-2);font-size:.825rem;padding:.75rem .25rem;text-align:center}.pipeline-modal-wide{max-width:520px}.deal-form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.deal-form-label{display:block;font-size:.825rem;font-weight:500;color:var(--ayr-ink-soft);margin-bottom:.3rem}.deal-form-field{margin-bottom:.75rem}.deal-detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:.5rem 1.25rem;gap:.5rem 1.25rem;margin-bottom:1.25rem;font-size:.875rem}.deal-detail-label{color:var(--ayr-muted);font-size:.775rem;margin-bottom:.1rem}.deal-detail-value{font-weight:500;color:var(--ayr-ink)}.stage-badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:9999px}.stage-New{background:var(--ayr-sky);color:var(--ayr-blue)}.stage-Møte{background:var(--ayr-warn-bg);color:var(--ayr-warn-fg)}.stage-Tilbud\.sendt{background:var(--ayr-blue-soft);color:var(--ayr-blue)}.stage-Won{background:var(--ayr-success-bg);color:var(--ayr-success-fg)}.stage-Lost{background:var(--ayr-error-bg);color:var(--ayr-error-fg)}.pipeline-total-bar{display:flex;gap:1.5rem;background:var(--ayr-surface);border:1px solid var(--ayr-line);border-radius:var(--ayr-radius);padding:.75rem 1rem;margin-bottom:1.25rem;font-size:.875rem;flex-wrap:wrap}.pipeline-total-item{display:flex;flex-direction:column;gap:.15rem}.pipeline-total-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ayr-muted-2);font-weight:500}.pipeline-total-value{font-weight:700;font-size:1rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/7ab938503e4547a1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/13971731025ec697-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/7ab938503e4547a1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/13971731025ec697-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/7ab938503e4547a1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/13971731025ec697-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/7ab938503e4547a1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/13971731025ec697-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:DM Sans Fallback;src:local("Arial");ascent-override:94.90%;descent-override:29.66%;line-gap-override:0.00%;size-adjust:104.53%}.__className_0eeb07{font-family:DM Sans,DM Sans Fallback;font-style:normal}.__variable_0eeb07{--font-dm-sans:"DM Sans","DM Sans Fallback"}