/* CAD System – lively theme (Plus Jakarta Sans, softer cards, warm background). Loaded after style.css. */
@import url(https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap);
body{font-family:"Plus Jakarta Sans",Inter,"Segoe UI",Arial,sans-serif;background-color:#F6F3F1;font-size:14.5px;letter-spacing:-.005em}
h1,h2,h3{font-weight:800;letter-spacing:-.01em}
.card{border-radius:18px;border:1px solid #EDE5E3;box-shadow:0 1px 2px rgba(60,0,0,.04),0 8px 22px rgba(60,0,0,.05)}
.btn{border-radius:999px;font-weight:700}
input,select,textarea{border-radius:10px}
.chip{border-radius:999px;font-weight:600}
table.list{border-collapse:separate;border-spacing:0}
table.list th{background:#FBF6F5;color:#4A3F3F;font-weight:700}
.flash,.notice{border-radius:14px}
.hero h1{font-weight:800}
.tw-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.tw-tabs a{text-decoration:none;font-weight:600;font-size:14px;padding:9px 16px;border-radius:999px;background:#fff;color:#3D2B2B;border:1px solid #E8DEDC}
.tw-tabs a.on{background:#6A0000;color:#fff;border-color:#6A0000}
.tw-hero{background:linear-gradient(120deg,#3D0000 0%,#6A0000 60%,#8E1414 100%);color:#fff;border-radius:24px;padding:26px 28px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;margin-bottom:18px}
.tw-hero .k{font-size:12px;font-weight:700;letter-spacing:.14em;color:#FFD166}
.tw-hero h2{margin:6px 0 4px;font-size:30px;color:#fff}
.tw-hero .d{color:#F3DADA}
.tw-hero .nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.tw-hero .nav a{text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:8px 14px;font-weight:600;font-size:13px}
.tw-hero .nav span{background:rgba(255,255,255,.14);border-radius:999px;padding:8px 14px;font-size:13px}
.tw-lead{flex:0 1 400px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:18px 20px;display:flex;gap:16px;align-items:center}
.tw-lead .tro{width:76px;height:76px;border-radius:50%;background:#FFD166;display:flex;align-items:center;justify-content:center;flex:none}
.tw-lead .n{font-size:24px;font-weight:800;margin-top:2px}
.tw-lead .s{font-size:13px;color:#F3DADA}
.tw-pts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.tw-pts div{background:#FBF6F5;border-radius:16px;padding:12px;display:flex;gap:12px;align-items:center;font-weight:600;font-size:14px}
.tw-pts b{width:42px;height:42px;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}
.tw-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:#FBF8F7;border:1px solid #EDE5E3;margin-bottom:10px}
.tw-row.first{background:#FFF8E6;border-color:#F3DE9C}
.tw-row.me{outline:2px solid #6A0000}
.tw-rank{width:36px;height:36px;border-radius:50%;background:#E6E1E0;color:#3D2B2B;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.tw-row.first .tw-rank{background:#FFD166;color:#3D0000}
.tw-av{width:44px;height:44px;border-radius:50%;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.tw-who{flex:1 1 200px}
.tw-who .r{font-size:12px;color:#6B6060}
.tw-bar{height:8px;background:#ECE6E5;border-radius:99px;margin-top:7px}
.tw-bar i{display:block;height:8px;background:#6A0000;border-radius:99px}
.tw-row.first .tw-bar{background:#F1E4C0}.tw-row.first .tw-bar i{background:#E0A800}
.tw-st{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#5C5050}
.tw-st b{font-size:15px;color:#1E1A1A}
.tw-score{font-size:24px;font-weight:800;color:#6A0000;min-width:60px;text-align:right}
.tw-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.tw-hon{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:#FBF6F5;margin-bottom:8px;text-decoration:none;color:inherit}
.tw-hon .w{flex:1}.tw-hon .w span{display:block;font-size:12px;color:#6B6060}
.tw-tag{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;white-space:nowrap}
.tw-tag.ok{background:#E9F4EC;color:#2E7D4F}.tw-tag.due{background:#FFF1D6;color:#8A5A00}.tw-tag.none{background:#F3EFEE;color:#6B6060}
.tw-road{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.tw-road .nm{width:130px;font-weight:700}
.tw-dots{display:flex;gap:7px}
.tw-dots i{width:30px;height:30px;border-radius:50%;border:2px dashed #E0A800;display:block}
.tw-dots i.on{background:#FFD166;border:2px solid #FFD166}
@media(max-width:600px){.tw-hero h2{font-size:24px}.tw-score{min-width:0}}
