
/* Alerts history */
.gh-history-filter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

@media (max-width: 900px){
  .gh-history-filter-grid{
    grid-template-columns:1fr;
  }
}

@media print{
  .gh-topbar,
  .gh-page-actions,
  .gh-history-filter-grid{
    display:none !important;
  }

  body{
    background:white !important;
  }

  .gh-card,
  .gh-hero{
    box-shadow:none !important;
  }
}

/* Alert phone management */
.gh-phone-code-box[hidden] {
  display: none;
}

.gh-phone-code-value {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gh-phone-card {
  min-height: 260px;
}

.gh-phone-kv {
  margin-top: 1rem;
}

.gh-phone-kv div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.gh-phone-kv dt {
  font-weight: 700;
}

.gh-phone-kv dd {
  margin: 0;
}


/* Shared Golden Hub Files workspace: canonical responsive styling. */
.gh-files-workspace{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#183047;background:#f3f7f9}
.gh-files-workspace, .gh-files-workspace *{box-sizing:border-box}.gh-files-workspace{margin:0}.gh-files-workspace main{max-width:1180px;margin:36px auto;padding:20px}
.gh-files-workspace .panel{background:white;border:1px solid #dae7ec;border-radius:14px;padding:20px;box-shadow:0 3px 15px #1b3b4a0a}
.gh-files-workspace .top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.gh-files-workspace small, .gh-files-workspace .muted{color:#647b89}.gh-files-workspace h1{font-size:30px;margin:12px 0 4px}.gh-files-workspace h2{font-size:17px;margin:8px 0}
.gh-files-workspace a{color:#166a81}.gh-files-workspace nav{display:flex;gap:5px;flex-wrap:wrap;align-items:center;padding:14px 0}
.gh-files-workspace button{background:#126e84;color:white;border:none;border-radius:8px;padding:10px 13px;cursor:pointer;font-weight:600}
.gh-files-workspace button.secondary{background:#e6f2f5;color:#145b71}.gh-files-workspace button:disabled{opacity:.5;cursor:default}
.gh-files-workspace input{padding:10px;border:1px solid #b6cbd5;border-radius:7px;max-width:100%;font:inherit}
.gh-files-workspace .actions{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0;border-top:1px solid #e7eef1;border-bottom:1px solid #e7eef1}
.gh-files-workspace .actions form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gh-files-workspace .actions input[type=file]{width:235px;background:#fff;font-size:13px}
.gh-files-workspace .list{display:grid;gap:8px;margin-top:16px}
.gh-files-workspace .item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e0e9ed;border-radius:9px;padding:13px;background:#fff}
.gh-files-workspace .details{display:flex;gap:12px;align-items:center;min-width:0}.gh-files-workspace .details .label{overflow-wrap:anywhere}
.gh-files-workspace .details small{display:block;margin-top:3px}.gh-files-workspace .emoji{font-size:24px;flex-shrink:0}
.gh-files-workspace .file-buttons{display:flex;flex-wrap:wrap;gap:7px}.gh-files-workspace .file-buttons button{white-space:nowrap}
.gh-files-workspace #notice{min-height:24px;padding-top:12px}.gh-files-workspace #notice.error{color:#b12635}
.gh-files-workspace #share-dialog{border:1px solid #bbd1da;border-radius:13px;padding:22px;width:min(510px,calc(100vw - 28px));color:#183047}
.gh-files-workspace #share-dialog::backdrop{background:#102530a6}
.gh-files-workspace #share-dialog input, .gh-files-workspace #share-dialog select{width:100%;margin:5px 0 12px}
.gh-files-workspace #share-list{max-height:160px;overflow:auto;padding:8px 0}
.gh-files-workspace .share-entry{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.gh-files-workspace .actions[hidden]{display:none}
.gh-files-workspace #move-dialog{border:1px solid #bbd1da;border-radius:13px;padding:22px;width:min(480px,calc(100vw - 28px));max-width:100%;box-shadow:0 16px 60px #092b3a4a;color:#183047}
.gh-files-workspace #move-dialog::backdrop{background:#102530a6}
.gh-files-workspace #move-dialog h2{margin:0 0 10px;font-size:20px}
.gh-files-workspace #move-dialog label{display:block;margin:14px 0 6px;font-weight:650}
.gh-files-workspace #move-destination{width:100%;padding:10px;border:1px solid #aec9d5;border-radius:7px;font:inherit;background:white;color:#183047}
.gh-files-workspace #move-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}

.gh-files-workspace #editor-overlay{position:fixed;inset:0;background:#193444ed;z-index:5000;display:flex;flex-direction:column;padding:14px;gap:6px}
.gh-files-workspace #editor-overlay[hidden]{display:none}
.gh-files-workspace #editor-head{display:flex;justify-content:space-between;align-items:center;color:#fff;min-height:32px}
.gh-files-workspace #editor-frame{flex:1;width:100%;border:0;background:#fff;border-radius:7px}

.gh-files-workspace #editor-close{position:fixed;right:22px;bottom:66px;z-index:2147483000;background:#0b7185;color:#fff;border:2px solid #fff;border-radius:12px;padding:14px 20px;box-shadow:0 6px 25px #0008;font-weight:700}
.gh-files-workspace #editor-close:focus-visible, .gh-files-workspace #editor-close:hover{outline:2px solid white;outline-offset:2px}
@media(max-width:750px){.gh-files-workspace main{padding:10px;margin:10px auto}.gh-files-workspace .item{align-items:start;flex-direction:column}.gh-files-workspace .actions{display:grid}.gh-files-workspace .actions form{max-width:100%}}

/* Use the shared page shell spacing rather than a second app shell. */
.gh-files-workspace { min-width: 0; background: transparent; }
.gh-files-workspace main { width: min(100%, 1280px); max-width: none; margin: 0 auto; padding: clamp(12px, 2vw, 24px); }
.gh-files-workspace .panel { padding: clamp(16px, 2vw, 28px); border-radius: var(--gh-radius, 18px); box-shadow: var(--gh-shadow, 0 6px 20px #1b3b4a14); }
.gh-files-workspace .workspace-header { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; padding-bottom:18px; border-bottom:1px solid var(--gh-border,#dae7ec); }
.gh-files-workspace .workspace-eyebrow { display:block; color:var(--gh-muted,#647b89); font-size:.75rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:5px; }
.gh-files-workspace .workspace-description { margin:0; color:var(--gh-text,#183047); font-size:clamp(1rem,1.5vw,1.15rem); font-weight:650; }
.gh-files-workspace .workspace-tenant { color:var(--gh-muted,#647b89); font-size:.875rem; font-weight:600; overflow-wrap:anywhere; }
.gh-files-workspace .workspace-tabs { display:flex; flex-wrap:wrap; gap:8px; padding:16px 0; }
.gh-files-workspace .workspace-tabs button[aria-pressed="true"] { background:var(--gh-primary,#339fd6); color:white; }
.gh-files-workspace #breadcrumbs[hidden] { display:none; }
.gh-files-workspace .actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start; padding:16px 0; }
.gh-files-workspace .actions form { display:flex; align-items:center; gap:8px; min-width:0; flex-wrap:wrap; }
.gh-files-workspace .actions form > input:not([type="file"]) { flex:1 1 160px; min-width:0; }
.gh-files-workspace .actions form > input[type="file"] { width:min(100%,260px); flex:1 1 220px; }
.gh-files-workspace .actions button { min-height:42px; }
.gh-files-workspace button { background:var(--gh-primary,#126e84); }
.gh-files-workspace button.secondary { background:var(--gh-bg,#e6f2f5); color:var(--gh-text,#145b71); }
.gh-files-workspace button:focus-visible, .gh-files-workspace input:focus-visible { outline:2px solid var(--gh-primary,#339fd6); outline-offset:2px; }
@media (max-width: 1100px) { .gh-files-workspace .actions { grid-template-columns:1fr; } }
@media (max-width: 640px) {
  .gh-files-workspace main { padding:12px 0; }
  .gh-files-workspace .panel { padding:14px; }
  .gh-files-workspace .actions { gap:10px; }
  .gh-files-workspace .actions form { width:100%; }
  .gh-files-workspace .actions form > input { min-width:0; width:100%; }
  .gh-files-workspace .actions form > button { flex:1 1 auto; }
  .gh-files-workspace .item { min-width:0; }
  .gh-files-workspace .file-buttons { width:100%; }
}
