:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#23332b;background:#eef2ef}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,textarea{font:inherit}button{border:1px solid #cad9ce;background:#fff;color:#26583c;padding:8px 11px;border-radius:7px;cursor:pointer;font-weight:600}button:hover{background:#e8f4ec}button:disabled{opacity:.5}.primary{background:#176b43;color:#fff;border-color:#176b43}.primary:hover{background:#115735}header{background:#fff;border-bottom:1px solid #d9e4dc;display:flex;justify-content:space-between;align-items:center;padding:10px 18px;gap:12px}.brand{display:flex;align-items:center;gap:10px}.brand img{width:43px;height:43px;object-fit:contain}.brand b{font-size:20px;color:#145e3b}.brand b span{font-size:13px;background:#e5f1e9;padding:3px 6px;border-radius:5px}.brand small{display:block;color:#6c8273}.header-actions,.actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.profile{display:flex;align-items:end;gap:10px;padding:10px 18px;background:#f9fbf9;border-bottom:1px solid #dbe6de;flex-wrap:wrap}.profile label{font-size:12px;color:#52705c;font-weight:600}.profile input{display:block;margin-top:3px;width:155px;border:1px solid #cbd9cf;border-radius:6px;padding:7px 9px;background:white}.exercise{margin-left:auto;min-width:170px}.exercise small{display:block;color:#67806d}.exercise strong{color:#195c3b}main{display:grid;grid-template-columns:255px minmax(0,1fr);gap:12px;padding:12px;flex:1;min-height:520px;height:calc(100vh - 178px)}aside,.workspace{background:white;border:1px solid #d6e2da;border-radius:9px;min-height:0;overflow:hidden}aside{display:flex;flex-direction:column}.panel-title,.editor-head,.results-head{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #dce7df;gap:7px}.panel-title{font-weight:700;color:#195f3d}.panel-title button{padding:3px 10px}.tree{padding:10px;overflow:auto;flex:1;font-size:13px}.tree p{color:#768779}.table-name{display:block;width:100%;text-align:left;border:0;border-radius:4px;background:#edf5ef;margin:4px 0;padding:9px 8px}.column{padding:4px 8px 4px 17px;color:#5c6e60;overflow-wrap:anywhere}.column em{font-size:11px;color:#7a8e7f}.aside-action{margin:9px}.workspace{display:grid;grid-template-rows:auto minmax(170px,1fr) 35px auto minmax(145px,.85fr)}.editor-head strong,.results-head strong{color:#225d3e}.editor-wrap{position:relative;min-height:0;background:#fbfcfb;overflow:hidden}.editor-wrap pre,.editor-wrap textarea{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:14px 17px;border:0;font:14px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;white-space:pre;overflow:auto;overflow-wrap:normal}.editor-wrap pre{pointer-events:none;color:#26372d}.editor-wrap textarea{resize:none;background:transparent;color:transparent;caret-color:#122d1e;-webkit-text-fill-color:transparent;outline:0}.editor-wrap textarea::selection{background:#a5d6b4;color:transparent}.kw{color:#225fbd;font-weight:700}.str{color:#158448}.com{color:#84918a}.num{color:#9250aa}.check{border-top:1px solid #dce7df;padding:8px 13px;color:#56725d;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.check.error{color:#bb3030}.results-head{border-top:1px solid #dce7df}.results-head #rowInfo{font-size:12px;color:#6b8170}.result-scroll{overflow:auto;min-height:0;padding:0 0 10px}table{border-collapse:collapse;min-width:100%;font-size:13px}th,td{padding:8px 11px;border-bottom:1px solid #e1e9e3;text-align:left;white-space:nowrap}th{position:sticky;top:0;background:#e9f2eb;color:#245c3d}tbody tr:nth-child(even){background:#f7faf8}#resultHint{color:#849388;font-size:13px;padding:12px}footer{display:flex;justify-content:space-between;gap:8px;padding:7px 14px;background:#e2ebe4;color:#57705d;font-size:11px}@media(max-width:800px){main{grid-template-columns:1fr;grid-template-rows:180px minmax(480px,1fr);height:auto}aside{min-height:180px}.tree{display:flex;gap:8px;flex-wrap:wrap}.table-name{width:auto}.column{display:none}.profile .exercise{margin-left:0}.workspace{min-height:590px}.editor-head,.results-head{flex-wrap:wrap}footer span:last-child{display:none}}@media print{header,.profile,aside,.editor-head,.results-head,.result-scroll,footer,.check{display:none!important}body{background:#fff}main,.workspace,.editor-wrap{display:block!important;border:0!important;height:auto!important;padding:0!important}.editor-wrap pre{position:static;white-space:pre-wrap;overflow:visible;font-size:11pt}.editor-wrap textarea{display:none}body:before{content:'IFL SQL-Trainer · SQL-Statements';display:block;font-weight:700;font-size:17pt;margin:0 0 15px}}
