:root{--blue:#1769b2;--ink:#1d2d3c;--muted:#697886;--line:#e2e8ee;--soft:#edf4fa;--bg:#f6f8fb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}[hidden]{display:none!important}svg{flex-shrink:0}#boot{min-height:100dvh;display:grid;place-items:center;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:white;padding:14px}.skip-link:focus{top:12px}.amarflex-wordmark{font-size:23px;font-weight:800;letter-spacing:-1px}.brand-dot{color:var(--blue)}.brand{display:grid;gap:6px;margin:8px 12px 42px}.brand small{font-size:9px;letter-spacing:2px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;padding:28px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.sidebar nav{display:grid;gap:6px}.sidebar nav a{display:flex;gap:12px;align-items:center;min-height:48px;padding:12px 16px;border-radius:12px;color:var(--muted);font-size:14px;font-weight:600}.sidebar nav a[aria-current]{background:var(--soft);color:var(--blue)}.sidebar nav a:hover{background:var(--bg)}.sidebar-foot{margin-top:auto;padding:20px 12px 0;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sidebar-foot>span:last-child{width:100%;padding:7px 0 0 13px;font-size:10px;color:#8c99a5}.connection-dot{width:6px;height:6px;border-radius:50%;background:#57917c}.workspace{margin-left:238px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:12px 36px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line)}.topbar>strong{font-size:15px;font-weight:600;min-width:0;overflow-wrap:anywhere}.profile{display:flex;align-items:center;gap:14px;min-width:0}.profile>span{font-size:12px;color:var(--muted);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--muted);padding:10px;min-width:44px;min-height:44px;border-radius:12px}main{width:min(1250px,100%);margin:0 auto;padding:40px 36px 64px;outline:none}.eyebrow{color:#5b7b98;margin:0 0 12px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 30px}.page-head h1{margin:0 0 10px;font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650}.page-head p:not(.eyebrow){margin:0;color:var(--muted);font-size:14px;line-height:1.6}.page-head>.button{flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border-radius:12px;font-size:14px;font-weight:600;border:1px solid var(--line);white-space:normal;transition:background .16s}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.button.primary:hover{background:#12578f}.button.secondary{background:#fff;color:var(--ink)}.button.secondary:hover{background:var(--soft)}.registry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.registry-card{min-width:0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;transition:border-color .18s}.registry-card:hover{border-color:#b9ccdc}.registry-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.registry-symbol{display:grid;place-items:center;width:44px;height:44px;background:var(--soft);color:var(--blue);border-radius:12px}.registry-count{font-size:11px;color:var(--muted)}.registry-card h2{font-size:19px;font-weight:650;letter-spacing:-.3px;margin:22px 0 7px}.registry-card h2 a:hover{color:var(--blue)}.registry-card p{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 24px}.registry-bottom{margin-top:auto}.registry-bottom .button{width:100%;font-size:12px}.registry-link{display:flex;align-items:center;justify-content:space-between;min-height:44px;color:var(--blue);font-size:13px;font-weight:600}.intro-note{display:flex;align-items:flex-start;gap:12px;margin-top:24px;font-size:12px;color:var(--muted);line-height:1.6;padding:16px 0}.intro-note svg{color:#8196a8}.back-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);min-height:44px;margin:-15px 0 16px}.back-link svg{width:16px!important;min-width:16px!important;height:16px!important}.registry-controls{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px;align-items:center}.search-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 14px;min-width:0;flex:1;max-width:540px;color:#80909d}.search-field input{width:100%;border:0;outline:none;background:transparent;padding:12px 0;color:var(--ink)}.search-field:focus-within{outline:2px solid var(--blue);outline-offset:2px}.search-field input:focus-visible{outline:0!important}.status-filters{display:flex;flex-shrink:0;background:#eaf0f5;padding:4px;gap:4px;border-radius:12px}.status-filters button{border:0;background:transparent;color:var(--muted);min-height:44px;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:600}.status-filters button[aria-pressed=true]{background:#fff;color:var(--ink)}.list-summary{font-size:12px;color:var(--muted);margin:20px 0 12px}.records-table{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;max-width:100%}table{border-collapse:collapse;width:100%;table-layout:auto}thead{background:#fafbfd}th{text-align:left;color:var(--muted);text-transform:uppercase}td{border-top:1px solid #eef2f5;overflow-wrap:anywhere;font-size:13px}.record-name{font-weight:600}.record-name>span{display:block;min-width:90px;max-width:280px}.record-actions>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.record-actions .button{font-size:12px;padding:9px 10px}.record-actions svg{width:16px!important;min-width:16px!important;height:16px!important}.status-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:5px 9px;border-radius:8px;background:#f0f2f4;color:#6d7881;white-space:nowrap}.status-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status-badge.is-active{background:#edf5f1;color:#436f5a}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:20px;font-size:12px;color:var(--muted)}.pagination .button{font-size:12px}.empty-state{display:grid;justify-items:center;text-align:center;padding:52px 24px;border:1px dashed #dce4eb;background:#fff;border-radius:18px}.empty-state>svg{width:32px!important;height:32px!important;color:#7d9bb4}.empty-state h2{margin:20px 0 8px;font-size:22px}.empty-state p{max-width:340px;color:var(--muted);margin:0 0 22px;line-height:1.6}.loading-state{padding:48px;text-align:center;font-size:13px;color:var(--muted)}.error-state{padding:24px;border:1px solid #efd5d5;background:#fff;border-radius:18px;color:#8a3d3d}.error-state p{line-height:1.6}.settings-panel{background:white;border:1px solid var(--line);border-radius:18px;max-width:700px;padding:24px}.settings-panel dl{margin:0}.settings-panel dl>div{display:grid;grid-template-columns:160px minmax(0,1fr);padding:18px 0;border-bottom:1px solid #edf1f5;gap:16px}.settings-panel dl>div:last-child{border:0}.settings-panel dt{font-size:12px;color:var(--muted)}.settings-panel dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.settings-panel p{font-size:13px;line-height:1.6;color:var(--muted);margin:22px 0 0}.mobile-nav{display:none}dialog{padding:0;border:1px solid var(--line);width:min(520px,calc(100% - 32px));color:var(--ink);background:#fff;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog form{min-height:0;max-height:inherit;display:flex;flex-direction:column}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 18px;flex-shrink:0}.dialog-head h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.6px}.dialog-head .eyebrow{font-size:9px!important;margin-bottom:8px}.dialog-head .icon-button{border:0;background:var(--bg)}.dialog-body{padding:0 24px 20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.form-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 20px}#form-fields{display:grid;gap:16px}.form-field{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}.required{color:#67829c;font-weight:400}.form-field input{width:100%;min-width:0;padding:12px 13px;border:1px solid #dce4eb;background:#fbfcfd;color:var(--ink);font-weight:400}.form-field input::placeholder{color:#91a0ad}.form-field input[aria-invalid=true]{border-color:#bc5a5a;background:#fffafa}.field-error{font-size:12px;color:#a24242;line-height:1.5;font-weight:400}.field-error:empty{display:none}.inline-error{font-size:13px;color:#a24242;line-height:1.6;margin:16px 0 0}.inline-error:empty{display:none}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #edf1f5;padding:16px 24px;flex-shrink:0;background:#fff}.dialog-actions .button{font-size:13px}.dialog-body #confirm-description{margin:0 0 16px;font-size:15px;line-height:1.6}#confirm-name{display:block;overflow-wrap:anywhere;padding:14px 16px;background:var(--soft);border-radius:12px;font-size:15px;margin:0 0 14px}#confirmation{width:min(440px,calc(100% - 32px))}#toast{position:fixed;z-index:100;top:88px;right:24px;background:#213d53;color:#fff;padding:14px 18px;box-shadow:0 8px 32px #10203016}noscript{display:block;padding:32px}
@media(max-width:1180px){.registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-actions .button svg{display:none}.sidebar{width:210px}.workspace{margin-left:210px}main{padding:32px 24px}.topbar{padding:12px 24px}}
@media(max-width:980px){.records-table{border:0;background:transparent;overflow:visible}.records-table table,.records-table tbody{display:block}.records-table thead{display:none}.records-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;background:white;border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:12px}.records-table td{display:flex;flex-direction:column;gap:7px;border:0;padding:0!important;min-width:0}.records-table td::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:500}.records-table .record-name{grid-column:1/-1;font-size:17px}.record-name>span{max-width:none}.record-actions{grid-column:1/-1}.record-actions::before{display:none}.record-actions>div{padding-top:14px;border-top:1px solid #edf1f5}.record-actions .button svg{display:block}.record-actions .button{flex:1}.registry-controls{flex-wrap:wrap}.search-field{max-width:none;flex-basis:100%}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{padding:10px 16px;min-height:64px}.topbar>strong{font-size:14px!important}.profile{gap:8px}.profile>span{max-width:135px;font-size:11px}main{padding:28px 16px 112px}.page-head{align-items:flex-start;gap:18px}.page-head h1{font-size:28px}.page-head>.button{width:100%}.registry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.registry-card{padding:18px}.registry-card h2{margin-top:18px;font-size:17px}.registry-card p{font-size:12px}.registry-top{flex-wrap:wrap;gap:8px}.registry-count{font-size:10px}.registry-bottom .button{padding:10px 8px;font-size:11px}.registry-bottom .button svg{display:none}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:30;padding:6px;gap:4px;background:#fff;border:1px solid #dde6ed;border-radius:18px;box-shadow:0 8px 32px #20385012}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;border-radius:12px;font-size:10px;color:var(--muted)}.mobile-nav a[aria-current]{background:var(--soft);color:var(--blue);font-weight:600}.status-filters{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.status-filters button{padding:10px}.registry-controls{gap:12px}.records-table tr{padding:18px}.settings-panel{padding:20px}.settings-panel dl>div{grid-template-columns:1fr;gap:7px}.dialog-head{padding:20px 20px 16px}.dialog-body{padding:0 20px 20px}.dialog-actions{padding:14px 20px}.dialog-actions .button{flex:1}.dialog-head h2{font-size:23px!important}#toast{top:76px;left:16px;right:16px;max-width:none!important}.pagination{justify-content:space-between;gap:8px}.pagination .button{padding:10px}.intro-note{font-size:11px}}
@media(max-width:380px){.registry-grid{grid-template-columns:1fr}.registry-card{display:grid;grid-template-columns:1fr auto;gap:0 12px}.registry-top{grid-column:1/-1}.registry-card h2{margin:14px 0 6px}.registry-card p{grid-column:1/-1;margin-bottom:14px}.registry-bottom{grid-column:1/-1}.registry-bottom .button{font-size:12px}.profile>span{max-width:100px}.records-table tr{grid-template-columns:minmax(0,1fr)}.record-actions{grid-column:auto}.record-actions .button{font-size:11px}.dialog-actions .button{padding:11px 12px}}
