*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#0b3d6b url('/static/bg1.png') center/cover no-repeat fixed;color:#fff;min-height:100vh}
a{color:#9fd6ff}
.topline{text-align:center;font-size:12px;opacity:.88;padding:12px 8px 0}
.auth-wrap{min-height:calc(100vh - 80px);display:flex;align-items:center;justify-content:center;padding:24px 12px 40px}
.auth-card{background:rgba(255,255,255,.97);color:#1a2b3c;border-radius:12px;max-width:480px;width:100%;padding:28px 26px 20px;box-shadow:0 12px 40px rgba(0,0,0,.28);position:relative}
.auth-card h1{margin:0 0 18px;font-size:22px;text-align:center;color:#0b4a8f}
.row{margin-bottom:13px}
.row label{display:block;font-size:13px;margin-bottom:5px;color:#345}
.row input,.row select,.row textarea{width:100%;padding:10px 12px;border:1px solid #c9d6e5;border-radius:8px;font-size:14px}
.row textarea{min-height:72px;resize:vertical}
.btn{display:inline-block;background:linear-gradient(180deg,#1e7bd6,#0d5aa7);color:#fff!important;border:none;padding:11px 18px;border-radius:8px;font-size:15px;cursor:pointer;text-align:center;text-decoration:none}
.btn-block{display:block;width:100%}
.btn:disabled{opacity:.55;cursor:not-allowed}
.muted{font-size:12px;color:#567;text-align:center;margin-top:14px}
.muted a{color:#0d5aa7}
.lang{position:absolute;top:14px;right:16px;font-size:12px;color:#678}
.foot{text-align:center;font-size:11px;opacity:.78;padding:10px;line-height:1.65}
.err{color:#c0392b;font-size:13px;margin-top:6px}
.cap-row{display:flex;gap:8px;align-items:center}
.cap-row input{flex:1}
.cap-row img{height:40px;border-radius:6px;cursor:pointer;border:1px solid #c9d6e5;background:#f4f8fc}
.split{display:flex;gap:10px;flex-wrap:wrap}
.split .btn{flex:1}

.shell{display:flex;flex-direction:column;min-height:100vh;background:#e8eef5}
.shell-head{background:#0b3d6b;color:#fff;padding:12px 18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.shell-head .brand{font-weight:700;letter-spacing:.02em}
.shell-head .search{flex:1;min-width:200px;display:flex;gap:8px;align-items:center}
.shell-head .search input{flex:1;padding:9px 12px;border-radius:8px;border:1px solid #c9d6e5}
.shell-head .search button{padding:9px 14px;border-radius:8px;border:none;background:#1e7bd6;color:#fff;cursor:pointer}
.shell-body{flex:1;display:flex;min-height:480px}
.tree-pane{width:320px;max-width:38%;background:#fff;border-right:1px solid #d5dee9;overflow:auto;padding:10px 8px}
.detail-pane{flex:1;background:#f7fafc;padding:16px 20px;overflow:auto}
.tree-item{padding:6px 8px;cursor:pointer;border-radius:6px;font-size:14px;color:#223}
.tree-item:hover{background:#eef6ff}
.tree-item.active{background:#d9ecff;font-weight:600}
.tree-children{margin-left:14px;border-left:1px dashed #bcd}
.dl{margin:0 0 10px}
.dl dt{font-size:12px;color:#678;margin-bottom:4px}
.dl dd{margin:0 0 12px;font-size:15px;color:#123;background:#fff7e6;padding:10px 12px;border-radius:8px;border:1px solid #f0e0c0}
.admin-nav a{margin-right:12px;color:#fff;text-decoration:none;opacity:.95}
.admin-nav a:hover{text-decoration:underline}
