@import url("tokens.css");
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--dt-text); background: var(--dt-canvas); font-family: var(--dt-font); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #83c6ec; outline-offset: 2px; }
.muted { color: var(--dt-muted); }
.small { font-size: 15px; }
.eyebrow { margin: 0 0 7px; color: var(--dt-green-600); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 28px; font-weight: 600; line-height: 1.25; }
h2 { font-size: 19px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
code { font-family: Consolas, "Courier New", monospace; font-size: 12px; overflow-wrap: anywhere; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--dt-green-600); color: white; }
.btn-primary:hover { background: #267447; }
.btn-outline { border-color: #cbd5da; background: #fff; color: var(--dt-text); }
.btn-outline:hover { background: #f7f9fa; }
.btn-small { min-height: 28px; padding: 4px 9px; font-size: 14px; }
.notice { padding: 12px 14px; border: 1px solid; border-radius: 3px; margin: 0 0 18px; }
.notice-info { color: #275d73; background: var(--dt-info-bg); border-color: #c8e5ef; }
.notice-warning { color: #795018; background: var(--dt-warning-bg); border-color: #f0d9aa; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #9ba8ae; vertical-align: middle; }
.status-dot.warning { background: #d49a38; }
.status-dot.good { background: #39a16a; }
.panel { min-width: 0; background: white; border: 1px solid var(--dt-border); border-radius: var(--dt-radius); box-shadow: var(--dt-shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; border-bottom: 1px solid #e5eaed; }
.panel-heading h2, .panel-heading h3 { margin: 0; }
.panel-body { padding: 16px; }
.empty-state { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; color: var(--dt-muted); }
.empty-state strong { margin-bottom: 5px; color: #465660; font-weight: 600; }
.empty-symbol { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 9px; border: 1px solid #d9e2e6; border-radius: 50%; color: #71818a; font-size: 17px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 11px 14px; border-bottom: 1px solid #e7ecee; white-space: nowrap; }
th { background: #f7f9fa; color: #586872; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
td { font-size: 15px; }
tr:last-child td { border-bottom: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { padding: 15px 16px; background: #fff; border: 1px solid var(--dt-border); border-radius: 4px; box-shadow: var(--dt-shadow); }
.metric-label { display: block; margin-bottom: 10px; color: #65747d; font-size: 15px; }
.metric-value { display: block; font-size: 30px; line-height: 1; font-weight: 500; color: #243a49; }
.metric-foot { display: block; margin-top: 9px; color: #849199; font-size: 12px; }
.directory-page { min-height: 100vh; background: #f2f5f6; }
.directory-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px max(24px, calc((100vw - 1180px)/2)); background: var(--dt-navy-950); color: white; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--dt-green-600); color: #fff; border-radius: 3px; font-size: 19px; font-weight: 800; }
.preview-pill { border: 1px solid rgba(255,255,255,.25); border-radius: 2px; padding: 5px 8px; color: #dce7eb; font-size: 10px; letter-spacing: .08em; }
.directory-main { max-width: 1180px; margin: 0 auto; padding: 40px 24px 24px; }
.directory-main .lead { max-width: 780px; color: var(--dt-muted); font-size: 16px; }
.directory-section { margin-top: 30px; }
.directory-section h2 { padding-bottom: 10px; border-bottom: 1px solid #d7e0e4; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.directory-card { display: flex; gap: 13px; align-items: center; min-width: 0; padding: 16px; border: 1px solid var(--dt-border); border-radius: 4px; background: white; box-shadow: var(--dt-shadow); text-decoration: none; transition: border-color .15s, transform .15s; }
.directory-card:hover { border-color: #91bba1; transform: translateY(-1px); }
.directory-card > span:last-child { display: grid; gap: 4px; min-width: 0; }
.directory-card strong { font-size: 14px; }
.directory-card small { color: var(--dt-muted); }
.directory-card code { color: #3e7556; }
.directory-icon { display: grid; flex: 0 0 42px; place-items: center; height: 42px; border-radius: 3px; background: #e9f2ed; color: #2f7850; font-weight: 800; font-size: 14px; }
.directory-footer { margin-top: 36px; padding-top: 15px; border-top: 1px solid #d7e0e4; color: #75848c; font-size: 14px; }
@media (max-width: 900px) { .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .directory-header { padding: 13px 16px; } .directory-main { padding: 28px 16px 20px; } .directory-grid { grid-template-columns: 1fr; } .preview-pill { font-size: 9px; } h1 { font-size: 22px; } }

/* v0.3.0 dashboard workspace modules */
.workspace-section{margin-top:18px}.workspace-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.workspace-intro h2{margin:0 0 4px;font-size:20px}.workspace-intro p{margin:0;color:var(--dt-muted);font-size:14px}.workspace-tag{flex-shrink:0;padding:4px 7px;border:1px solid #d6e2dc;background:#f3f8f5;color:#397653;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.workspace-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workspace-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:164px;padding:15px;background:#fff;border:1px solid var(--dt-border);border-top:3px solid #d8e8df;border-radius:3px;box-shadow:var(--dt-shadow)}.workspace-card-icon{display:grid;place-items:center;width:32px;height:32px;margin-bottom:11px;border:1px solid #dce9e1;background:#f0f7f2;color:#32784f;font-size:16px}.workspace-card h3{margin:0 0 5px;font-size:16px}.workspace-card p{flex:1;margin:0 0 13px;color:var(--dt-muted);font-size:14px;line-height:1.55}.workspace-card .btn{min-height:30px;padding:5px 9px;font-size:14px}.workspace-footnote{margin:10px 0 0;color:#7d8b91;font-size:13px}.workspace-action-link{color:#31784e;text-decoration:none;font-size:14px;font-weight:600}.workspace-action-link:hover{text-decoration:underline}.page-content .notice{font-size:13px}@media(max-width:1200px){.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.workspace-grid{grid-template-columns:1fr}.workspace-card{min-height:145px}.workspace-intro{flex-direction:column;gap:8px}}
