.settings-page{margin:0;background:#f6f5f0;color:#2c3028;font:15px/1.55 Inter,Segoe UI,Arial,sans-serif}.settings-page button,.settings-page input,.settings-page select{font:inherit}.settings-page a{color:inherit}.settings-page [hidden]{display:none!important}.settings-shell{max-width:1300px;margin:auto;padding:0 44px}.settings-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:27px 0;border-bottom:1px solid #e1e3d9}.emet-brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:29px;font-weight:700;letter-spacing:-1px;line-height:1.1}.emet-brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.04em;color:#7a7e70;margin-top:4px}.emet-mark{height:42px;width:42px;border-radius:13px;background:#303c2d;color:#e5d5a1;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;font-size:38px;line-height:1;padding-bottom:6px}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap}.quiet-link,.text-button{background:none;border:0;padding:0;cursor:pointer;color:#5b6353;text-decoration:none;font-size:12px;font-weight:600}.quiet-link:hover,.text-button:hover,.text-link:hover{color:#8d6e20;text-decoration:underline}.avatar-button{display:flex;gap:8px;align-items:center;background:transparent;border:0;padding:0;cursor:pointer;color:#363e30;font-size:12px;font-weight:650}.avatar{display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e6eadf;color:#4a5a3d;font-weight:650;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-small{height:32px;width:32px;font-size:12px}.avatar-large{height:90px;width:90px;font-size:29px}.settings-heading{padding:39px 0 32px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.14em;color:#858b77;margin:0 0 8px}.settings-heading h1{font-size:36px;font-weight:600;letter-spacing:-1.1px;line-height:1.2;margin:0 0 10px}.settings-heading>p:last-child{margin:0;color:#747b6b;font-size:14px}.settings-layout{display:grid;grid-template-columns:217px minmax(0,1fr);gap:45px;align-items:start;padding-bottom:55px}.settings-tabs{display:flex;flex-direction:column;gap:6px}.settings-tabs button{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;color:#6f7665;border:0;border-radius:10px;padding:11px 13px;cursor:pointer;font-size:13px;font-weight:550;width:100%;white-space:nowrap}.settings-tabs button>span{font-size:18px;width:19px;text-align:center}.settings-tabs button[aria-selected=true]{background:#e6ebdf;color:#3d4d32;font-weight:700}.settings-tabs button:hover{background:#edf0e8}.sidebar-note{margin:40px 13px 0;max-width:185px}.sidebar-note p{color:#858b7a;font-size:11px;line-height:1.65}.sidebar-note>a{font-size:11px;color:#6a765d;text-decoration:none}.section-heading{margin:0 0 21px;min-height:58px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.section-heading h2{font-size:23px;font-weight:600;line-height:1.25;letter-spacing:-.4px;margin:0 0 7px}.section-heading p{margin:0;color:#7a8170;font-size:13px}.settings-card{background:#fff;border:1px solid #e5e7de;border-radius:16px;padding:27px;margin:0 0 20px;box-shadow:0 3px 10px #29331b03}.settings-card.compact{padding:25px 27px}.settings-card h3{margin:0 0 5px;font-size:15px;font-weight:650;line-height:1.4}.muted{color:#7b8371;font-size:13px;margin:6px 0 14px}.muted.small,.small{font-size:11px}.button-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;min-height:39px;border-radius:9px;text-decoration:none;border:1px solid #d9dfd1;cursor:pointer;font-size:12px;font-weight:650;line-height:1.4}.button.primary{background:#43543a;color:#fff;border-color:#43543a}.button.primary:hover{background:#33452b}.button.secondary{background:#fff;color:#4f5b43}.button.secondary:hover{background:#f5f7f1;border-color:#b7c1aa}.button:disabled{cursor:default;opacity:.5}.avatar-editor{display:flex;align-items:center;gap:22px}.avatar-editor .muted{font-size:11px;margin:5px 0 12px}.file-label{cursor:pointer}.form-rule{height:1px;background:#edefe7;margin:25px 0}.field{margin:20px 0;max-width:550px}.field label{display:block;font-weight:650;font-size:12px;margin-bottom:7px}.field input,.field select{width:100%;padding:10px 12px;border:1px solid #e0e5d8;background:#fff;border-radius:8px;min-height:42px;font-size:13px;color:#3f4935}.field input[readonly]{color:#8a9081;background:#f8f9f5}.field small{display:block;color:#929785;font-size:11px;margin-top:7px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #edefe7;padding-top:20px;margin-top:27px;flex-wrap:wrap}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.status-pill{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;background:#f5efe1;color:#9a7933;font-size:10px;line-height:1.5;font-weight:650;padding:4px 8px;border-radius:6px}.status-pill.local{background:#edf0e7;color:#78826b}.status-pill.connected{background:#e7f1e4;color:#48713a}.status-pill.failed{background:#fbebe8;color:#ae4f44}.inline-message{font-size:12px;color:#527044;line-height:1.6;margin-bottom:0}.inline-message:empty{display:none}.inline-message.error{color:#a9463e}.team-list{display:grid;margin:18px 0}.team-member{display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid #eff1e9;padding:13px 0}.team-person{display:flex;align-items:center;gap:12px;min-width:0}.team-person strong{font-size:13px;font-weight:600}.team-person small{display:block;font-size:11px;color:#959a8a}.team-member>span{font-size:11px;color:#7e8771}.review-box{margin-top:20px;padding:17px;background:#f6f8f1;border:1px solid #e2e8d8;border-radius:10px;font-size:13px}.review-box p{margin:0 0 10px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.integration-card{min-width:0;border:1px solid #e3e7dc;border-radius:14px;background:#fff;padding:21px;display:flex;flex-direction:column;align-items:flex-start}.integration-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;margin-bottom:15px}.integration-logo{height:35px;width:35px;border-radius:10px;background:#f3f4ec;color:#6e7c5c;display:grid;place-items:center;font-size:20px;font-weight:650}.integration-card h3{margin:0 0 5px;font-size:15px;font-weight:650}.integration-card p{font-size:12px;color:#909582;line-height:1.65;margin:0 0 17px;flex:1}.integration-card .text-button{color:#637852;font-size:12px;font-weight:650}.service-summary{margin:-6px 0 22px;color:#8b927e;font-size:11px;line-height:1.7}.ruach-note{display:flex;align-items:flex-start;gap:12px;margin-top:25px;color:#949981;font-size:11px;line-height:1.7}.ruach-note strong{font-weight:650;color:#747e64}.ruach-note p{margin:0}.ruach-symbol{font-size:27px;color:#a8b28c;line-height:1.2}.company-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px;flex-wrap:wrap}.company-heading img{max-width:100%;height:auto;max-height:100px;object-fit:contain}.company-details{margin:0 0 22px}.company-details>div{display:grid;grid-template-columns:155px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #eef0e8;font-size:13px}.company-details dt{color:#929986}.company-details dd{margin:0;color:#4e5a41}.text-link{font-size:12px;color:#657b51;text-decoration:none;font-weight:600}.data-card{display:flex;align-items:flex-start;gap:20px}.data-icon{color:#7a8b66;font-size:31px}.data-card .button{margin-top:8px}.settings-footer{border-top:1px solid #e3e7da;display:flex;justify-content:space-between;gap:20px;padding:22px 0 30px;font-size:10px;color:#9a9f8e}.integration-dialog{border:1px solid #dfe4d5;border-radius:20px;padding:0;width:min(790px,calc(100vw - 32px));max-height:90vh;color:#35402e;box-shadow:0 24px 80px #24301e33}.integration-dialog::backdrop{background:#222b2270;backdrop-filter:blur(3px)}.guide-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:27px 30px 22px;border-bottom:1px solid #e8ecdf}.guide-header h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.5px}.guide-header .eyebrow{color:#91a17d;font-size:9px}.icon-button{height:33px;width:33px;display:grid;place-items:center;border:1px solid #e2e7d9;border-radius:50%;color:#889576;background:white;font-size:24px;line-height:1;cursor:pointer}.guide-body{padding:25px 30px 30px}.guide-status{display:flex;align-items:center;gap:10px;margin-bottom:18px}.guide-intro{margin:0 0 23px;color:#7c886b;font-size:13px;line-height:1.7}.guide-permissions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:24px}.guide-permissions>div{padding:15px;background:#f5f7ef;border-radius:11px}.guide-permissions strong{font-size:11px}.guide-permissions p{font-size:11px;color:#929b81;line-height:1.65;margin:5px 0 0}.guide-steps{display:flex;gap:6px;margin-bottom:20px}.guide-steps span{height:4px;flex:1;border-radius:3px;background:#e8ecdf}.guide-steps span.current{background:#97aa76}.guide-step-count{color:#96a386;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.guide-body h3{font-size:18px;font-weight:600;margin:8px 0 11px}.guide-step-copy{font-size:13px;line-height:1.8;color:#7f8d6b;min-height:64px}.guide-links{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 22px}.guide-links a{color:#6f8454;font-size:12px;text-decoration:underline;text-underline-offset:3px}.guide-action{border-top:1px solid #e7ecdd;padding-top:20px;margin-top:25px}.guide-buttons{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px}.guide-confirm{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#7f8b6c;margin:15px 0}.guide-confirm input{margin-top:4px;accent-color:#69834f}.calendar-choice{margin-top:20px}.calendar-choice select{width:100%;border:1px solid #dde5cf;border-radius:8px;padding:10px;margin-top:7px;color:#526a39}.skip-link{position:fixed;top:-100px;left:15px;padding:10px;background:#fff;z-index:50}.skip-link:focus{top:15px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-page :focus-visible{outline:3px solid #a3b283;outline-offset:3px}.settings-page input,.settings-page select,.settings-page p,.settings-page dd{overflow-wrap:anywhere}.settings-page main{min-width:0}
@media(min-width:900px){#panel-integrations>.section-heading{flex-direction:row;align-items:center;justify-content:space-between}}
@media(max-width:850px){.settings-shell{padding:0 25px}.settings-layout{grid-template-columns:180px minmax(0,1fr);gap:25px}.header-actions{gap:15px}.avatar-button #headerName{display:none}.integration-grid{grid-template-columns:1fr}.settings-tabs button{font-size:12px;padding:10px}.sidebar-note{margin-left:10px}.settings-card{padding:22px}.company-details>div{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:620px){.settings-shell{padding:0 18px}.settings-header{padding:22px 0;gap:14px}.emet-brand{font-size:25px}.emet-mark{height:35px;width:35px;font-size:32px;border-radius:10px}.emet-brand small{font-size:8px}.header-actions{gap:11px}.header-actions>.quiet-link:first-child{display:none}.header-actions>.quiet-link{font-size:10px}.settings-heading{padding:30px 0 25px}.settings-heading h1{font-size:30px}.settings-heading>p:last-child{font-size:12px}.settings-layout{display:block;padding-bottom:25px}.settings-sidebar{margin-bottom:28px}.settings-tabs{display:flex;flex-direction:row;gap:7px;overflow:auto;padding:3px 2px 10px;scrollbar-width:thin}.settings-tabs button{width:auto;flex-shrink:0;padding:9px 10px;font-size:11px}.settings-tabs button>span{font-size:16px;width:15px}.sidebar-note{display:none}.settings-card,.settings-card.compact{padding:22px 18px;border-radius:13px}.section-heading h2{font-size:22px}.section-heading p{font-size:12px}.section-heading{gap:12px;margin-bottom:18px}.avatar-editor{gap:14px;align-items:flex-start}.avatar-large{height:66px;width:66px;font-size:23px}.avatar-editor h3{font-size:13px}.avatar-editor .muted{font-size:10px}.avatar-editor .button-row{gap:12px}.avatar-editor .button{font-size:11px;padding:8px 10px;min-height:35px}.card-footer .button{width:100%}.company-details>div{grid-template-columns:98px minmax(0,1fr);font-size:11px}.settings-footer{font-size:9px;gap:10px}.integration-grid{gap:12px}.integration-card{padding:20px}.guide-header{padding:22px 20px 18px}.guide-body{padding:21px 20px}.guide-header h2{font-size:21px}.guide-permissions{grid-template-columns:1fr;gap:10px}.guide-permissions>div{padding:12px}.guide-body h3{font-size:17px}.guide-buttons .button{font-size:11px;padding:9px 12px}.team-person strong{font-size:12px}.team-person small{font-size:10px}.team-member>span{font-size:10px}.data-card{gap:12px}.data-icon{font-size:25px}}
@media(prefers-reduced-motion:reduce){.settings-page *{scroll-behavior:auto;transition:none}}
.invitation-code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-all;background:#fff;border:1px solid #dbe3ce;padding:12px;border-radius:8px;font:12px/1.7 ui-monospace,monospace;margin-top:12px}
/* Keep small supporting text readable on the light workspace surfaces. */
.integration-card p,.service-summary,.field small,.team-person small,.team-member>span,.sidebar-note p,.guide-permissions p,.guide-step-copy,.guide-confirm,.guide-intro,.muted,.company-details dt,.settings-footer,.ruach-note{color:#6f7764}
.status-pill{color:#816020}.status-pill.local{color:#626e55}.guide-step-count{color:#748260}.invitation-code{user-select:all}
.credential-section{border-top:1px solid #e5eadc;margin-top:20px;padding-top:16px}.credential-section summary{cursor:pointer;font-size:13px;font-weight:600;color:#536545}.credential-section summary::marker{color:#8c9c79}.credential-section form{padding-top:2px}
