:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f6fc;background:#090910;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit;cursor:pointer}button:focus-visible,[tabindex]:focus-visible{outline:2px solid #d7b8ff;outline-offset:3px}button:disabled{cursor:not-allowed}.app{min-height:100vh;display:flex;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(circle at 12% 12%,#20152f55,transparent 26%),radial-gradient(circle at 88% 82%,#1d163150,transparent 30%),#090910}.app:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background-image:radial-gradient(#ada3ca66 .7px,transparent .8px);background-size:79px 83px;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 90%);mask-image:linear-gradient(to bottom,#000,transparent 90%)}.topbar{height:88px;padding:0 clamp(20px,3.5vw,54px);border-bottom:1px solid #2b293b;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;position:relative;z-index:3;background:#0d0c17d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{font-size:27px;color:#b76cff;text-shadow:0 0 18px #a855f7}.brand strong{display:block;font-size:16px;letter-spacing:.17em}.brand small{display:block;color:#aaa8ba;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-top:3px}.tabs{display:flex;gap:5px;background:#171420;padding:5px;border:1px solid #2b293b;border-radius:14px}.tabs button{border:0;color:#aaa8ba;background:transparent;border-radius:10px;padding:10px 17px;min-height:44px;font-weight:700;white-space:nowrap}.tabs button span{font-size:11px;font-weight:500;margin-left:6px}.tabs button.active{background:#24163c;color:#f7f6fc;box-shadow:inset 0 0 0 1px #7e45b6,0 0 19px #a855f733}.tabs button:hover:not(.active){color:#fff;background:#211d2e}.motion-toggle{justify-self:end;background:#151524;border:1px solid #38334c;border-radius:9px;color:#d0cddd;padding:10px 12px;font-size:12px}.motion-toggle:hover{border-color:#a855f7}main{width:100%;max-width:1800px;margin:auto;flex:1;display:flex;position:relative;z-index:1}.view{width:100%;padding:30px clamp(20px,3.5vw,54px) 22px;display:flex;flex-direction:column;min-height:calc(100vh - 126px)}.section-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{color:#b794ea;font-size:11px;font-weight:800;letter-spacing:.19em;margin:0 0 9px}.section-intro h1{font-size:clamp(28px,3vw,44px);letter-spacing:-.04em;line-height:1.1;margin:0 0 6px}.section-intro p:not(.eyebrow){margin:0;color:#aaa8ba;font-size:14px}.return-button,.link-button,.focus-actions button{color:#f7f6fc;background:#24163c;border:1px solid #8a4fc4;border-radius:9px;padding:11px 16px;font-weight:650}.return-button:hover,.link-button:hover,.focus-actions button:hover{background:#382054;box-shadow:0 0 20px #a855f744}.diagram-wrap,.focus-panel{flex:1;min-height:540px;background:#11111d;border:1px solid #2b293b;border-radius:22px;position:relative;overflow:hidden;box-shadow:0 20px 75px #0005}.diagram-wrap:before,.focus-panel:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 50%,#a855f708,transparent 65%)}.overview-svg{width:100%;height:100%;min-height:540px;display:block;touch-action:none;cursor:grab}.overview-svg.dragging{cursor:grabbing}.diagram-float{animation:float 10s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.diagram-wrap:hover .diagram-float,.overview-svg.dragging .diagram-float,.still .diagram-float,.static-mode .diagram-float{animation-play-state:paused}.static-mode .diagram-float{animation:none}.connection{fill:none;stroke:#77748b;stroke-width:.055;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.specialization{stroke-dasharray:.18 .12}.diagram-label{fill:#d1cede;font-size:.45px;pointer-events:none}.er-object rect,.er-object ellipse,.er-object polygon{fill:#f7f6fc;stroke:#d8d4e6;stroke-width:.055}.er-object text{fill:#171624;font-weight:750;pointer-events:none}.er-object .inner-outline{fill:none;stroke:#171624;stroke-width:.055;pointer-events:none}.er-object .partial-key,.partial-key{stroke:#171624;stroke-width:.045;stroke-dasharray:.08 .06;pointer-events:none}.er-object.interactive{cursor:pointer}.er-object.interactive:hover rect,.er-object.interactive:hover polygon,.er-object.interactive:focus-visible rect,.er-object.interactive:focus-visible polygon{stroke:#a855f7;stroke-width:.14;filter:drop-shadow(0 0 .28px #a855f7)}.er-object.interactive:focus-visible{outline:none}.camera-controls{position:absolute;right:20px;bottom:20px;display:flex;gap:6px;background:#090910e8;border:1px solid #38334c;border-radius:12px;padding:5px}.camera-controls button{border:0;border-radius:8px;color:#fff;background:#211d2e;min-height:36px;padding:0 10px;font-size:13px}.camera-controls button:hover{background:#442467}.canvas-hint{position:absolute;left:20px;bottom:22px;margin:0;color:#aaa8ba;font-size:12px;pointer-events:none}.focus-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;animation:appear .42s ease}.focus-svg{display:block;width:min(100%,1250px);height:min(70vh,590px);min-height:410px}.focus-line{stroke:#c6b8db;stroke-width:2}.focus-node rect,.focus-node ellipse,.focus-node polygon{fill:#f7f6fc;stroke:#d8d4e6;stroke-width:2}.focus-node text{fill:#171624;font-weight:750}.focus-node .inner-outline{fill:none;stroke:#171624;stroke-width:2}.focus-node .partial-key{stroke:#171624;stroke-width:2;stroke-dasharray:5 4}.focus-main{filter:drop-shadow(0 0 18px #a855f7aa)}.focus-main rect,.focus-main polygon{stroke:#a855f7;stroke-width:4}.focus-note,.focus-range,.focus-role,.cardinality-badge{fill:#d7b8ff;font-size:18px;font-weight:700}.focus-role{font-size:14px}.cardinality-badge{font-size:25px}.focus-actions{margin:auto 20px 24px;text-align:center}.focus-actions p{color:#aaa8ba}.mr-groups{flex:1;display:flex;flex-direction:column;justify-content:center;gap:32px;padding:12px 0 28px}.group-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.group-heading h2{font-size:20px;margin:0}.group-heading span{color:#b794ea;font-size:12px;font-weight:800}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.table-card{min-height:118px;text-align:left;background:#f7f6fc;color:#171624;border:1px solid #fff;border-radius:14px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;position:relative;box-shadow:0 8px 24px #0004;transition:transform .2s,box-shadow .2s}.table-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #a855f744}.table-card span{font-weight:850;font-size:clamp(13px,1.2vw,18px);overflow-wrap:anywhere}.table-card small{font-size:12px;color:#666075}.table-card b{position:absolute;right:14px;bottom:14px;font-size:19px;color:#793bb5}.table-focus{flex:1;display:flex;flex-direction:column;align-items:center;gap:20px;animation:appear .3s ease}.table-focus>.return-button{align-self:flex-start}.table-detail{width:min(760px,100%);background:#f7f6fc;color:#171624;border-radius:18px;box-shadow:0 0 45px #a855f733;padding:28px 34px;max-height:calc(100vh - 265px);overflow:auto}.table-detail-head h2{font-size:34px;margin:0 0 18px}.field-list{list-style:none;margin:0;padding:0;border-block:1px solid #dfdbe9}.field-list li{display:flex;align-items:center;gap:12px;padding:9px 2px;border-bottom:1px solid #e7e3ec}.field-list li:last-child{border:0}.field-list li>span:nth-child(2){font-weight:750;flex:1}.field-list small{color:#5b556b}.field-badges{display:inline-flex;gap:3px;min-width:0}.badge{font-size:10px;letter-spacing:.05em;font-weight:800;color:#543078;background:#e8d6f8;border-radius:4px;padding:3px 5px}.badge.fk{color:#245a6f;background:#d8edf3}.detail-notes{font-size:13px;color:#4b4659;line-height:1.45;margin:16px 0}.detail-notes p{margin:5px 0}.link-button{margin-top:6px}.dict-layout{flex:1;display:grid;grid-template-columns:205px minmax(0,1fr);gap:18px;min-height:0}.dict-nav{display:flex;flex-direction:column;gap:5px;align-self:start}.dict-nav button{min-height:42px;display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;border:1px solid transparent;background:#151524;color:#c4c0d2;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:700}.dict-nav button span{color:#918ba1}.dict-nav button.active{color:#fff;background:#24163c;border-color:#a855f7;box-shadow:0 0 16px #a855f744}.dict-nav button:hover:not(.active){border-color:#6b607e}.dict-content{background:#f7f6fc;color:#171624;border-radius:17px;overflow:hidden;align-self:start;animation:appear .22s ease;box-shadow:0 12px 38px #0005}.dict-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 17px}.dict-header h2{margin:0;font-size:28px}.dict-counter{color:#756e82;font-weight:750;font-size:13px}.dictionary-scroll{overflow:auto;max-height:calc(100vh - 345px)}.dictionary-scroll table{border-collapse:collapse;width:100%;min-width:750px;text-align:left;font-size:13px}.dictionary-scroll th,.dictionary-scroll td{padding:12px 15px;vertical-align:top;border-bottom:1px solid #e7e3ec}.dictionary-scroll thead th{background:#eae6f0;color:#514b60;font-size:11px;text-transform:uppercase;letter-spacing:.06em;position:sticky;top:0}.dictionary-scroll tbody tr:nth-child(2n){background:#f1eff5}.dictionary-scroll tbody th{white-space:nowrap}.dictionary-scroll tbody th .field-badges{margin-left:7px}.dictionary-scroll td:nth-child(2),.dictionary-scroll td:nth-child(3),.dictionary-scroll td:nth-child(4){white-space:nowrap}.example{display:block;color:#736d7f;font-size:11px;margin-top:3px}.dictionary-notes{border-top:1px solid #e7e3ec;padding:13px 26px 20px;color:#5a5268;font-size:12px;line-height:1.4}.dictionary-notes p{margin:4px 0}footer{position:relative;z-index:1;color:#817d91;padding:10px clamp(20px,3.5vw,54px) 17px;display:flex;justify-content:space-between;font-size:11px;gap:15px}@keyframes float{50%{transform:translateY(3px)}}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1000px){.topbar{grid-template-columns:1fr auto;height:auto;min-height:80px;padding-block:12px}.tabs{grid-column:1/-1;grid-row:2;justify-self:center;max-width:100%;overflow:auto}.motion-toggle{grid-column:2;grid-row:1}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.view{min-height:calc(100vh - 180px)}.dictionary-scroll{max-height:55vh}}@media(max-width:650px){.topbar{padding-inline:16px}.brand small{display:none}.tabs{width:100%;justify-content:space-around}.tabs button{padding:9px 8px;font-size:12px}.tabs button span{display:none}.motion-toggle{font-size:10px;padding:8px}.view{padding:20px 14px}.section-intro{align-items:start;flex-direction:column}.section-intro h1{font-size:29px}.diagram-wrap,.focus-panel,.overview-svg{min-height:490px}.canvas-hint{bottom:71px;left:12px;right:12px;font-size:11px}.camera-controls{right:10px;bottom:10px;left:10px;justify-content:center}.camera-controls button{font-size:11px}.focus-panel{overflow-x:auto;align-items:flex-start}.focus-svg{min-height:330px;height:auto;min-width:700px;flex:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.table-card{min-height:94px;padding:12px}.table-detail{max-height:none;padding:20px}.dict-layout{display:block}.dict-nav{flex-direction:row;overflow:auto;margin-bottom:13px;padding-bottom:4px}.dict-nav button{white-space:nowrap;flex:none}.dictionary-scroll{max-height:52vh}.dict-header{padding:17px}footer{padding-inline:15px}}@media(hover:none){.diagram-float{animation:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.focus-scroll{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#70429b #1d1b2b}.focus-scroll-hint{display:none}.focus-node .focus-range,.focus-node .focus-role{fill:#d7b8ff}@media(max-width:650px){.focus-panel{overflow:hidden;align-items:center}.focus-scroll{flex:none}.focus-scroll-hint{display:block;color:#d7b8ff;font-size:12px;margin:6px 12px 0;align-self:center}.focus-actions{align-self:center;margin:16px 20px 24px}}
