:root{--ed-ink:#172b45;--ed-blue:#145bb3;--ed-border:#c5d1df;--ed-panel:430px}body{padding-top:58px!important}#rankabiz-editor{font:14px/1.45 system-ui,sans-serif;color:var(--ed-ink)}#rankabiz-editor *{box-sizing:border-box}#rankabiz-editor button,#rankabiz-editor input,#rankabiz-editor select{font:inherit}#rankabiz-editor button{border:1px solid var(--ed-border);background:#fff;color:var(--ed-ink);border-radius:7px;padding:7px 11px;cursor:pointer;min-height:36px}#rankabiz-editor button:hover{background:#eaf2fd;border-color:var(--ed-blue)}#rankabiz-editor button:disabled{opacity:.5;cursor:default}#rankabiz-editor button:focus-visible,#rankabiz-editor input:focus-visible,#rankabiz-editor select:focus-visible{outline:3px solid #4b8ede;outline-offset:2px}#ed-bar{position:fixed;top:0;left:0;right:0;min-height:54px;background:#f9fbfe;border-bottom:1px solid var(--ed-border);z-index:1500;padding:8px 14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ed-brand{font-weight:800;text-decoration:none;color:var(--ed-blue)}.ed-role{font-size:12px;color:#425674}.ed-bar-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}#ed-status{position:fixed;bottom:8px;left:12px;z-index:1505;background:#fff;border:1px solid var(--ed-border);padding:6px 12px;border-radius:6px;margin:0;max-width:calc(100vw - 24px);box-shadow:0 2px 12px #162b451a}#ed-status:empty{display:none}#ed-status.ed-error{border-color:#ae2b27;color:#92211e}#ed-panel{position:fixed;right:0;top:58px;bottom:0;width:var(--ed-panel);min-width:320px;max-width:70vw;resize:horizontal;overflow:auto;background:white;border-left:2px solid var(--ed-border);z-index:1450;box-shadow:-5px 0 20px #172b4512}#ed-panel>header{position:sticky;top:0;display:flex;align-items:start;gap:10px;justify-content:space-between;padding:14px;background:#f4f7fb;z-index:2;border-bottom:1px solid var(--ed-border)}#ed-panel h2{font-size:17px;margin:0;overflow-wrap:anywhere}#ed-panel h3{font-size:15px}#ed-panel-body{padding:16px}body.ed-panel-open{padding-right:var(--ed-panel)!important}.ed-field{display:grid;gap:5px;margin:12px 0}.ed-field input,.ed-field select,.ed-user select{padding:9px;border:1px solid var(--ed-border);border-radius:6px;min-width:0;width:100%}.ed-result{display:grid!important;width:100%;text-align:left;margin:8px 0;gap:5px}.ed-result small,.ed-scope{color:#365d8d}.ed-result span{font-size:12px;overflow-wrap:anywhere}.ed-format,.ed-actions{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.tiptap{border:1px solid #93aac5;border-radius:7px;min-height:160px;padding:12px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text!important;cursor:text!important}.tiptap:focus{box-shadow:0 0 0 3px #d4e5ff}.tiptap p{margin:0 0 9px}.ed-diff{display:grid;gap:10px;margin:10px 0}.ed-diff>div{padding:10px;border:1px solid var(--ed-border);border-radius:6px;overflow-wrap:anywhere}.ed-diff>div:first-child{background:#fff6f3}.ed-diff>div:last-child{background:#f0fbf6}.ed-diff h4{margin:0 0 7px}.ed-history,.ed-user{border-bottom:1px solid var(--ed-border);padding:12px 0}.ed-history details{margin:10px 0}.ed-user label{display:block;margin:8px 0}#ed-target{position:fixed;z-index:1449;box-shadow:0 2px 8px #172b4533;background:#145bb3!important;color:white!important}.ed-editing [data-content-key]:hover{outline:1px dashed #5b89c6;outline-offset:2px}.ed-paragraph{display:block}.ed-paragraph:only-child{display:inline}.ed-list{display:block;padding-left:14px}.ed-list-item{display:block}.ed-login{padding:24px!important;background:#edf2f8;min-height:100vh;font:16px/1.5 system-ui,sans-serif}.ed-login-card{max-width:460px;margin:6vh auto;background:#fff;border:1px solid var(--ed-border);border-radius:16px;padding:32px;box-shadow:0 12px 42px #172b4512}.ed-login-card h1{font-size:25px}.ed-login-card label{display:grid;gap:6px;margin:16px 0}.ed-login-card input{width:100%;padding:12px;border:1px solid #aebfd3;border-radius:7px}.ed-login-card form>button{margin-top:18px;width:100%;background:#145bb3!important;color:white!important}.ed-login-card nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}#ed-login-message{color:#314e73}.architecture-shell,.static-shell{height:calc(100dvh - 58px)!important;min-height:0!important}.view .preview{min-height:90px;background:linear-gradient(120deg,#e7effb,#dcebe8)}.view .preview:before{content:'▤';font-size:42px;color:#365d8d;margin:auto}.ed-editing mark,mark{background:#fff3a3;color:inherit}@media(max-width:1050px){body{padding-top:106px!important}#ed-panel{top:106px}.architecture-shell,.static-shell{height:calc(100dvh - 106px)!important}}@media(max-width:700px){body.ed-panel-open{padding-right:0!important;padding-bottom:48dvh!important}#ed-panel{top:auto;bottom:0;width:100%;max-width:100%;height:48dvh;min-width:0;resize:vertical;border-top:2px solid var(--ed-border)}.ed-panel-open .architecture-shell,.ed-panel-open .static-shell{height:calc(52dvh - 106px)!important}#ed-bar{gap:5px;font-size:12px;padding:5px}.ed-role{display:none}.ed-bar-actions{gap:3px}#ed-bar button{font-size:12px;padding:5px;min-height:30px}#ed-status{bottom:auto;top:106px;font-size:12px}.ed-login-card{padding:22px;margin:2vh auto}}@media print{#rankabiz-editor{display:none!important}body{padding:0!important}}
:root{--ed-bar-height:58px}
body:not(.ed-login){padding-top:var(--ed-bar-height)!important}
#ed-panel{top:var(--ed-bar-height)}
.architecture-shell,.static-shell{height:calc(100dvh - var(--ed-bar-height))!important}
.view .preview:before{display:none}.view .preview svg{width:100%;height:auto;display:block}
@media(max-width:700px){
  #ed-panel{top:auto}
  #ed-status{top:var(--ed-bar-height)}
  .ed-panel-open .architecture-shell,.ed-panel-open .static-shell{height:calc(52dvh - var(--ed-bar-height))!important}
  .ed-panel-open .architecture-header{padding:6px;display:grid;grid-template-columns:1fr 1fr;gap:5px}
  .ed-panel-open .architecture-header>div:first-child,.ed-panel-open .architecture-resources,.ed-panel-open .architecture-phase-intro{display:none}
  .ed-panel-open .architecture-switch{order:initial;grid-column:1/-1;width:100%}
  .ed-panel-open .architecture-switch button{padding:5px;min-height:30px;font-size:12px}
  .ed-panel-open .architecture-view-choice{max-width:none;grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:12px}
  .ed-panel-open .architecture-view-choice select{padding:5px;min-height:30px;flex:1}
}
