/* rusttech access: the same steel sheet under a rusted bar as the local dashboard (dashboard/DESIGN.md), cut down
   to what the join log and codes pages use. Textures are CC0 Poly Haven photos (metal_plate_02, rusty_metal_04). */
:root{
  color-scheme:dark;
  --sheet:#201c19; --input:#151210; --line:#3d342d; --line-soft:#2e2824;
  --text:#e7e0d6; --muted:#aba195;
  --rust:#a9552a; --rust-text:#dd8c5f;
  --ok:#9bba94; --bad:#e8957e; --warn:#dbb978;
  --font:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Roboto,sans-serif;
  --mono:ui-monospace,"Cascadia Mono",Consolas,monospace;
}
*{box-sizing:border-box}
html{background:#24201d url("/static/plate.jpg") repeat;background-size:720px}
body{margin:0;color:var(--text);font:15px/1.5 var(--font)}
a{color:var(--rust-text);text-underline-offset:2px}
a:hover{color:#f0a77c}
.muted{color:var(--muted)}
.mono{font-family:var(--mono);font-size:13px}
.ok{color:var(--ok)}
.bad{color:var(--bad)}
.nw{white-space:nowrap}

header{border-bottom:2px solid #140c08;background:#3b1d0e url("/static/rust.jpg") repeat-x center;background-size:auto 100%}
header .in{max-width:1140px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:28px;height:54px}
.name{font-weight:700;font-size:17px;color:#f6e9dc;text-decoration:none;letter-spacing:.01em;text-shadow:0 1px 2px #000}
header nav{display:flex;gap:24px;height:100%}
header nav a{display:flex;align-items:center;color:#ead2bf;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-2px;
  text-shadow:0 1px 2px #000}
header nav a:hover{color:#fff}
header nav a.on{color:#fff;border-bottom-color:#e7c3a6}

.sheet{
  max-width:1140px;margin:28px auto 56px;padding:34px 40px 48px;
  background-color:var(--sheet);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='6' cy='6' r='4' fill='%23141110'/><circle cx='5.6' cy='5.6' r='3' fill='%234f4640'/><circle cx='5' cy='5' r='1.2' fill='%23857668'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='6' cy='6' r='4' fill='%23141110'/><circle cx='5.6' cy='5.6' r='3' fill='%234f4640'/><circle cx='5' cy='5' r='1.2' fill='%23857668'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='6' cy='6' r='4' fill='%23141110'/><circle cx='5.6' cy='5.6' r='3' fill='%234f4640'/><circle cx='5' cy='5' r='1.2' fill='%23857668'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='6' cy='6' r='4' fill='%23141110'/><circle cx='5.6' cy='5.6' r='3' fill='%234f4640'/><circle cx='5' cy='5' r='1.2' fill='%23857668'/></svg>");
  background-repeat:no-repeat;
  background-position:12px 12px,calc(100% - 12px) 12px,12px calc(100% - 12px),calc(100% - 12px) calc(100% - 12px);
  border:1px solid #0f0d0c;
  box-shadow:inset 1px 1px 0 #3b342f,inset -1px -1px 0 #120f0d,0 3px 0 #0e0c0b;
}
@media (max-width:760px){.sheet{margin:0;padding:24px 18px 40px;border-left:0;border-right:0}}

h1{font-size:25px;font-weight:700;margin:0 0 6px;letter-spacing:-.01em}
h2{font-size:17px;font-weight:600;margin:40px 0 14px;padding-bottom:8px;border-bottom:1px solid #120f0d;box-shadow:0 1px 0 #36302b}
.title{display:flex;align-items:center;gap:10px;margin:0 0 22px}
.title h1{margin:0}
.title+.sub{margin-top:-14px}
.sub{color:var(--muted);margin:0 0 26px;max-width:700px}
p{margin:0 0 12px}

.tw{overflow-x:auto}
table{border-collapse:collapse;width:100%}
th{font-weight:600;font-size:13px;color:var(--muted);text-align:left;padding:6px 14px 6px 0;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:9px 14px 9px 0;border-bottom:1px solid var(--line-soft);vertical-align:top}

.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 20px;margin:0 0 16px}
.facts dt{color:var(--muted)}
.facts dd{margin:0;word-break:break-word}

.notice{border:1px solid #7a412b;background:#2d1d16;padding:10px 14px;margin:0 0 20px}

label{display:block;font-size:14px;margin:0 0 5px}
.field{margin:0 0 16px;min-width:0}
.hint{display:block;color:var(--muted);font-size:13px;margin-top:4px}
input[type=text],input[type=number],input[type=password],select{width:100%;font:15px var(--font);color:var(--text);background:var(--input);
  border:1px solid #0c0a09;border-radius:2px;padding:8px 10px;box-shadow:inset 1px 1px 0 #080706,0 1px 0 #37302b}
input[type=number]{font-family:var(--mono);font-size:14px}
input:focus,select:focus{outline:2px solid var(--rust);outline-offset:0}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0 18px}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}
button,.button{font:600 14px var(--font);border-radius:2px;padding:8px 16px;cursor:pointer;text-decoration:none;display:inline-block}
.primary{color:#fbeee3;background:var(--rust);border:1px solid #3d1a09;box-shadow:inset 0 1px 0 #c97a4f,inset 0 -1px 0 #7a3613;text-shadow:0 1px 0 #4a200b}
.primary:hover{background:#b8612f;color:#fff}
.primary:active{box-shadow:inset 0 1px 2px #4a200b}
.secondary{color:var(--text);background:#36302b;border:1px solid #0f0d0c;box-shadow:inset 0 1px 0 #4d453f,inset 0 -1px 0 #26211d}
.secondary:hover{background:#3d3631;color:#fff}
.secondary:active{box-shadow:inset 0 1px 2px #120f0d}
.small-btn{padding:5px 12px;font-size:13px}
form.inline{display:inline}
.filter{display:flex;gap:8px;margin:0 0 16px;max-width:560px}
.filter input{flex:1}
