.directory-mode{display:block;padding:0;background:#f4f6fa}.directory-mode main{max-width:none;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.directory-mode main>header,.directory-mode main>footer{display:none}.directory-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100dvh}.directory-sidebar{padding:24px 16px;background:#fff;border-right:1px solid #e2e7ee;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:8px}.directory-sidebar img{width:180px;max-width:100%;margin-bottom:14px}.directory-sidebar nav{display:grid;gap:7px}.directory-sidebar button{display:flex;align-items:center;gap:10px;text-align:left;border:0;color:#536275;background:transparent;padding:11px 12px;font-size:14px;font-weight:600}.directory-sidebar button[aria-current=page]{background:#eaf2ff;color:#024da9}.directory-sidebar svg,.directory-actions svg,.directory-row button svg,.setup-links svg,.position-box svg{width:20px;height:20px;flex-shrink:0}.directory-sidebar .sidebar-bottom{margin-top:auto;border-top:1px solid #e7edf5;padding-top:16px}.sidebar-bottom small{overflow-wrap:anywhere}.directory-body{min-width:0;padding:30px 34px 48px;max-width:1500px;width:100%;margin:0 auto}.directory-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.directory-heading h1{margin:0;font-size:28px}.overline{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#66768b;margin:0 0 8px;font-weight:700}.directory-actions,.dialog-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.directory-actions button,.directory-row button,.setup-links button,.position-box button{display:inline-flex;align-items:center;gap:8px;font-size:14px}.blue{background:#024da9;color:white;border-color:#024da9;font-weight:650}.blue:hover{background:#03418c}.muted{font-size:13px;color:#68778b}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.metric{background:#fff;border:1px solid #e1e7ef;text-align:left;display:grid;grid-template-columns:1fr auto;gap:8px;padding:22px;border-radius:16px}.metric svg{grid-column:2;grid-row:1/3;width:32px;height:32px;color:#024da9;background:#edf4ff;border-radius:10px;padding:5px}.metric strong{font-size:32px;line-height:1.2}.metric span{font-size:13px;color:#68778b}.directory-card{background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:24px}.directory-card h2{margin:0 0 18px}.setup-links{display:flex;gap:12px;flex-wrap:wrap}.stage-note{font-size:12px;color:#647187;line-height:1.7;margin-top:22px}.directory-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.directory-filters label{margin:0;font-size:12px;flex:1;min-width:150px}.directory-filters label:first-child{flex:2}.directory-filters input,.directory-filters select{margin-top:6px;font-size:14px;min-height:44px;padding:10px}.count{font-size:12px;color:#68778b;padding-bottom:12px}.directory-list{border:1px solid #e0e6ee;border-radius:16px;overflow:hidden;background:white}.directory-row{display:flex;align-items:center;gap:16px;padding:20px;border-bottom:1px solid #edf0f5}.directory-row:last-child{border:0}.record-main{flex:1;min-width:0}.record-main h2{margin:0 0 5px;font-size:16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.record-main p{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.record-avatar{width:44px;height:44px;border-radius:14px;background:#edf4ff;color:#024da9;display:grid;place-items:center;flex-shrink:0}.record-avatar svg{width:24px;height:24px}.state{font-size:10px;background:#e7f6ec;color:#287244;border-radius:15px;padding:3px 8px;white-space:nowrap}.state.inactive{background:#edf0f5;color:#66768b}.group-tags{display:flex;gap:5px;flex-wrap:wrap}.group-tags span{font-size:10px;background:#f2f5f9;border-radius:6px;padding:2px 6px;color:#5e6d81}.empty-state{text-align:center;padding:48px 20px;color:#66768b}.empty-state>svg{width:42px;height:42px;color:#9ab0cc}.empty-state h2{font-size:19px;margin:12px 0}.empty-state p{font-size:14px}#directory-message{border:1px solid #c9e2d3;color:#246540;background:#eef8f1;padding:12px 16px;border-radius:10px;font-size:14px;margin-bottom:18px}#directory-message.error,#record-error{color:#922b2b;background:#fff3f2;border:1px solid #efcbcb;padding:12px;border-radius:10px}dialog{border:1px solid #dce4ef;border-radius:22px;max-width:960px;width:calc(100% - 32px);max-height:90dvh;padding:0;color:#273548;box-shadow:0 30px 100px #0b244b33}dialog::backdrop{background:#12233c80}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #e5ebf3;background:white}.dialog-heading h2{font-size:23px;margin:0}.dialog-heading button{min-width:42px;padding:8px}.record-tabs{display:flex;gap:6px;padding:14px 24px 0;overflow:auto}.record-tabs button{border:0;white-space:nowrap;font-size:13px;color:#66768b;border-radius:9px;min-height:40px}.record-tabs button[aria-selected=true]{color:#024da9;background:#edf4ff;font-weight:650}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;padding:8px 26px 22px}.record-grid label{margin:8px 0 0;font-size:13px}.record-grid input,.record-grid select,.record-grid textarea{margin-top:7px;font-size:14px}.span2{grid-column:1/-1}select,textarea{font:inherit;color:inherit;background:white;border:1px solid #bfcbda;border-radius:10px;min-height:46px;padding:11px;width:100%}textarea{resize:vertical}.option{display:flex!important;gap:10px;align-items:center;font-size:13px!important;font-weight:500!important}.option input{width:19px;height:19px;min-height:19px;flex-shrink:0;accent-color:#024da9;margin:0!important}.record-grid .option{padding:14px;background:#f6f8fc;border:1px solid #e1e8f2;border-radius:11px}.record-grid fieldset{border:1px solid #e1e8f2;border-radius:12px;padding:12px;display:flex;gap:10px;flex-wrap:wrap}.record-grid legend{font-size:13px;padding:0 6px;font-weight:650}.record-grid fieldset .option{margin:0}.position-box{padding:16px;background:#f5f8fd;border:1px solid #dce7f5;border-radius:12px;display:grid;gap:10px}.position-box b{font-size:13px}.position-box small{margin:0;font-size:11px}.record-bottom{padding:16px 26px 22px;border-top:1px solid #e5ebf3;background:#fafbfd}.record-bottom .option{margin:0 0 14px}.dialog-actions{justify-content:end}.dialog-actions button{min-width:120px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #024da930;border-color:#024da9}@media(max-width:800px){.directory-shell{grid-template-columns:1fr}.directory-sidebar{position:static;height:auto;padding:14px 16px;border-right:0;border-bottom:1px solid #e1e7ef;display:block}.directory-sidebar img{width:150px;margin:0 0 12px}.directory-sidebar nav{display:flex;overflow:auto}.directory-sidebar button{white-space:nowrap;font-size:12px;padding:8px}.directory-sidebar .sidebar-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:8px}.sidebar-bottom small{margin:0;font-size:10px}.directory-body{padding:22px 16px}.directory-heading{align-items:start;flex-wrap:wrap;gap:14px}.directory-heading h1{font-size:25px}.directory-actions{width:100%}.metric-grid{gap:9px}.metric{padding:14px;grid-template-columns:1fr}.metric svg{display:none}.metric strong{font-size:27px}.metric span{font-size:11px}.directory-row{padding:16px 12px;gap:10px;flex-wrap:wrap}.directory-row button{margin-left:54px;min-height:38px}.record-grid{grid-template-columns:1fr;padding:8px 18px 18px;gap:8px}.span2{grid-column:auto}.record-tabs{padding:12px 12px 0}.dialog-heading{padding:18px}.dialog-heading h2{font-size:20px}.record-bottom{padding:16px 18px}.directory-filters{gap:10px}.directory-filters label{min-width:125px}.directory-filters label:first-child{flex-basis:100%}}

.google-address{display:block;width:100%;margin-top:7px;color-scheme:light;font:inherit;border-radius:10px}.google-address::part(input){font:inherit;min-height:46px}.google-address::part(prediction-list){max-height:260px;overflow:auto}#address-status{font-weight:400;line-height:1.5}

.location-map-section{margin-top:8px}#location-map{height:340px;width:100%;border:1px solid #d4dfed;border-radius:12px;background:#edf2f8}#location-map-status{font-weight:400;line-height:1.5}#location-map button,#location-map input{min-height:0;padding:0;border-radius:0}#location-map img{max-width:none}@media(max-width:600px){#location-map{height:280px}}

button.danger{color:#b42318;border:1px solid #f1b7b1;background:#fff3f2}button.danger:hover{background:#ffe2df}button.danger svg{width:19px;height:19px;vertical-align:middle}
