/* --- breadcrumbs --- */
.crumbs {
  margin: 0 0 3px;
  font-size: 11px;
  color: #777;
  overflow: hidden;
  zoom: 1;
}
.crumbs a {
  color: #08c;
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs .sep {
  padding: 0 6px;
  color: #b0b0b0;
}

/* --- generic tweak hero --- */
.tweak-hero {
  position: relative;
  height: 260px;
  padding: 26px 30px;
  margin-bottom: 14px;
  overflow: visible;
  zoom: 1;
  border: 1px solid #d7d7d7;
  border-color: #e5e5e5 #dbdbdb #d2d2d2;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background: #f7f7f7;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff),
    to(#eee)
  );
  -webkit-box-shadow:
    rgba(0, 0, 0, 0.12) 0 1px 2px,
    inset rgba(255, 255, 255, 0.9) 0 1px 0;
  box-shadow:
    rgba(0, 0, 0, 0.12) 0 1px 2px,
    inset rgba(255, 255, 255, 0.9) 0 1px 0;
}
.tweak-hero .hero-copy {
  position: relative;
  z-index: 2;
  width: 560px;
  padding-right: 320px;
}
.tweak-hero h1 {
  font-size: 28px;
  line-height: 1.1;
  color: #000;
  margin-bottom: 10px;
}
.tweak-hero .tagline {
  font-size: 15px;
  line-height: 21px;
  color: #666;
  margin-bottom: 12px;
}
.tweak-hero .actions {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  text-align: right;
}
.tweak-hero .dl-note {
  font-size: 11px;
  color: #777;
  margin-bottom: 6px;
  white-space: nowrap;
}

/* --- specs list (left card body) --- */
.specs {
  margin: 0;
  padding: 0;
}
.specs li {
  padding: 7px 0;
  border-top: 1px solid #e5e5e5;
  overflow: hidden;
  zoom: 1;
}
.specs li.first {
  border-top: 0;
}
.specs strong {
  float: left;
  width: 95px;
  color: #333;
  font-size: 12px;
}
.specs span {
  float: left;
  width: 240px;
  color: #666;
  font-size: 12px;
}

/* --- features strip (4 columns of icon + label) --- */
.features-strip {
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  zoom: 1;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(255, 255, 255, 1)),
    to(rgba(237, 237, 237, 0.93))
  );
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
}
.features-strip li {
  float: left;
  width: 25%;
  padding: 9px 0;
  text-align: center;
  border-right: 1px solid #e0e0e0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.features-strip li.last {
  border-right: 0;
}
.features-strip .feature-icon {
  width: 40px;
  margin-bottom: 9px;
  margin-top: 2px;
}
.features-strip strong {
  display: block;
  font-size: 13px;
  color: #000;
  margin-bottom: 1px;
}
.features-strip span {
  font-size: 11px;
  color: #666;
}

/* --- grid row (3-col) used to host specs + changelog --- */
.itunesbox-row {
  zoom: 1;
  margin-bottom: 15px;
  width: 100%;
}
.itunesbox-row:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.col-third {
  float: left;
  width: 32%;
  margin-left: 2%;
  height: 262px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.col-third.first {
  margin-left: 0;
}
/* 2-col fallback (no middle column): fill the remaining space */
.col-third.first + .itunesbox.col-third {
  float: none;
  margin-left: 34%;
  width: auto;
  height: 262px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* --- specs panel (light card) --- */
.specs-panel {
  padding: 10px 15px;
  overflow: hidden;
  background: #fff;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff),
    to(#f2f2f2)
  );
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
}

/* --- itunesbox dark card (used by changelog) --- */
.itunesbox {
  overflow: visible;
  background: #1f1f1f;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 1px 3px;
}
.itunesbox-changelog {
  overflow: visible;
}
.itunesbox .itunesbox-head {
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.itunesbox-head {
  position: relative;
  height: 32px;
  padding: 0 10px;
  border-bottom: 1px solid #1b1b1b;
  background-color: #525252;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5a5a5a),
    color-stop(0.5, #424242),
    color-stop(0.5, #343434),
    to(#2a2a2a)
  );
  background: -webkit-linear-gradient(
    #5a5a5a,
    #424242 50%,
    #343434 50%,
    #2a2a2a
  );
  -webkit-box-shadow: inset rgba(255, 255, 255, 0.25) 0 1px 0;
  box-shadow: inset rgba(255, 255, 255, 0.25) 0 1px 0;
}
.itunesbox-title {
  float: left;
  margin: 0;
  padding: 0;
  margin-top: 7.3px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}
.itunesbox-body {
  padding: 14px 16px 16px;
  min-height: 180px;
  color: #d7d7d7;
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  background: #2a2a2a;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#303030),
    to(#1f1f1f)
  );
}
.itunesbox-body::-webkit-scrollbar,
.changelog-body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}
.itunesbox-body .intro {
  color: #d7d7d7;
  margin-top: 0;
}

/* --- changelog body & entries --- */
.changelog-body {
  padding: 0;
  height: 230px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  -webkit-border-bottom-left-radius: 7px;
  -webkit-border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  background: #2a2a2a;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#303030),
    to(#1f1f1f)
  );
}
.changelog-entry {
  padding: 14px 16px;
  border-bottom: 1px solid #3a3a3a;
}
.changelog-entry:last-child {
  border-bottom: none;
}
.changelog-entry.current {
  background: #333;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#3a3a3a),
    to(#2d2d2d)
  );
  background: -webkit-linear-gradient(#3a3a3a, #2d2d2d);
  background: linear-gradient(#3a3a3a, #2d2d2d);
}
.changelog-version {
  margin-bottom: 10px;
  overflow: hidden;
  zoom: 1;
}
.version-badge {
  display: inline-block;
  padding: 0.5px 4px;
  margin-right: 10px;
  font-size: 12px;
  font-weight: bold;
  color: #ccc;
  background: #444;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#555),
    to(#3a3a3a)
  );
  background: -webkit-linear-gradient(#555, #3a3a3a);
  border: 1px solid #222;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
}
.version-badge.current {
  color: #fff;
  background: #4a90d9;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5da4e6),
    to(#3d7fc4)
  );
  background: -webkit-linear-gradient(#5da4e6, #3d7fc4);
  border-color: #2a5a8a;
}
.version-date {
  font-size: 11px;
  color: #888;
}
.version-tag {
  float: right;
  padding: 0 4px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: #5cb85c;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#6dcf6d),
    to(#4cae4c)
  );
  background: -webkit-linear-gradient(#6dcf6d, #4cae4c);
  border: 1px solid #3d8b3d;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
}
.changelog-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.changelog-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 16px;
  color: #bbb;
}
.changelog-list li:last-child {
  margin-bottom: 0;
}
.changelog-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #666;
}
.changelog-entry.current .changelog-list li {
  color: #ddd;
}
.changelog-entry.collapsed:hover {
  opacity: 1;
}

.notif-hero {
  height: 260px;
  overflow: hidden;
}

.notif-hero .hero-copy {
  width: 540px;
  padding-right: 0;
}

.notif-mockups {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 360px;
  height: 240px;
  z-index: 1;
}

.notif-banner {
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  padding: 9px 14px 0 14px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  border: 1px solid #b7b7b7;
  border-bottom-color: #a3a3a3;
  -webkit-border-radius: 9px;
  border-radius: 9px;

  background: #f1f1f1;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fcfcfc),
    color-stop(0.5, #f3f3f3),
    color-stop(0.5, #e8e8e8),
    to(#dcdcdc)
  );
  background: -webkit-linear-gradient(
    top,
    #fcfcfc,
    #f3f3f3 50%,
    #e8e8e8 50%,
    #dcdcdc
  );

  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.08);
}

.notif-banner-1 {
  top: 8px;
  /*-webkit-transform: rotate(-1.2deg);
  transform: rotate(-1.2deg);*/
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#f7faff),
    color-stop(0.5, #eff5fc),
    color-stop(0.5, #e3edf8),
    to(#d6e3f1)
  );
  background: -webkit-linear-gradient(
    top,
    #f7faff,
    #eff5fc 50%,
    #e3edf8 50%,
    #d6e3f1
  );
  border-color: #9fb6d4 #98b0cf #889fbe;
}
.notif-banner-2 {
  top: 78px;
  /* -webkit-transform: rotate(0.4deg);
  transform: rotate(0.4deg);*/
}
.notif-banner-3 {
  top: 148px;
  /*-webkit-transform: rotate(-0.6deg);
  transform: rotate(-0.6deg);*/
}

.notif-banner .notif-app-icon {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 39px;
  height: 39px;
  margin: 0 11px 0 0;
  display: block;
  overflow: hidden;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  /*border: 1px solid rgba(0, 0, 0, 0.18);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);*/
}

.notif-banner .notif-app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notif-text {
  overflow: hidden;
  padding-right: 38px;
  line-height: 16px;
}
.notif-text strong {
  position: absolute;
  top: 5px;
  left: 57px;
  font-size: 13px;
  color: #1a1a1a;
  margin-top: 1px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.notif-text .notif-msg {
  position: absolute;
  top: 29px;
  left: 57px;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-time {
  position: absolute;
  top: 2.5px;
  right: 9px;
  font-size: 11px;
  color: #888;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   PROTOCOL PANEL  +  SEQUENCE DIAGRAM
   -------------------------------------------------------------------------- */
.panel-protocol {
  margin-bottom: 15px;
  padding: 18px 22px 16px;
  background: #fdfdfd;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#f4f4f4)
  );
  background: -webkit-linear-gradient(top, #ffffff, #f4f4f4);
  border: 1px solid #d7d7d7;
  border-color: #e5e5e5 #dbdbdb #d2d2d2;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow:
    rgba(0, 0, 0, 0.12) 0 1px 2px,
    inset rgba(255, 255, 255, 0.9) 0 1px 0;
  box-shadow:
    rgba(0, 0, 0, 0.12) 0 1px 2px,
    inset rgba(255, 255, 255, 0.9) 0 1px 0;
}

.protocol-head {
  text-align: center;
  margin-bottom: 14px;
}
.protocol-head h2 {
  font-family: "Myriad Set Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.4px;
  color: #1d1d1f;
  line-height: 1.1;
  margin: 4px 0 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.protocol-head p {
  margin: 0 auto;
  max-width: 580px;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}

/* --- diagram --- */
.seq-actor-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  background: transparent;
}

.seq-actor-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

img.seq-actor-icon {
  display: inline-block;
  width: 55px;
  height: 55px;
  box-sizing: border-box;
  object-fit: contain;
  vertical-align: middle;
}
.seq-diagram {
  position: relative;
  margin: 4px auto 14px;
  width: 760px;
}

.seq-cols {
  position: relative;
  overflow: hidden;
  zoom: 1;
  margin-bottom: 6px;
}
.seq-col {
  float: left;
  width: 100px;
  padding: 12px 14px 11px;
  text-align: center;
  border: 1px solid #cfcfcf;
  border-color: #d8d8d8 #cfcfcf #c4c4c4;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background: #f7f7f7;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#ececec)
  );
  background: -webkit-linear-gradient(top, #ffffff, #ececec);
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.08);
}
.seq-col-left {
  margin-left: 30px;
}
.seq-col-right {
  float: right;
  margin-right: 30px;
}
.seq-col strong {
  display: block;
  font-size: 13px;
  color: #1d1d1f;
  margin-top: 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}
.seq-col .seq-actor-sub {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}

/* the persistent vertical lifelines, one under each header */
.seq-body {
  position: relative;
  padding: 10px 0 14px;
}
.seq-lifeline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d6d6d6;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(214, 214, 214, 0)),
    color-stop(0.08, rgba(214, 214, 214, 0.8)),
    color-stop(0.92, rgba(214, 214, 214, 0.8)),
    to(rgba(214, 214, 214, 0))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(214, 214, 214, 0) 0%,
    rgba(214, 214, 214, 0.8) 8%,
    rgba(214, 214, 214, 0.8) 92%,
    rgba(214, 214, 214, 0) 100%
  );
  z-index: 0;
}
.seq-lifeline-left {
  /* center of left column: 30 (margin) + 110 (half of 220) = 140 */
  left: 140px;
}
.seq-lifeline-right {
  /* center of right column: 760 - 30 - 110 = 620 */
  left: 620px;
}

.seq-messages {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 2;
}

.seq-msg {
  position: relative;
  height: 38px;
}

/* arrow line spans between the two lifelines */
.seq-msg .seq-arrow {
  position: absolute;
  top: 18px;
  left: 140px;
  right: 140px;
  height: 1px;
  background: #9aa3b0;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#9aa3b0),
    to(#9aa3b0)
  );
}
.seq-msg .seq-arrow:before,
.seq-msg .seq-arrow:after {
  content: "";
  position: absolute;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* outbound (Daemon → Server): arrow head on right */
.seq-msg.dir-out .seq-arrow:after {
  right: 0;
  border-left: 7px solid #6f7886;
}
/* inbound (Server → Daemon): arrow head on left */
.seq-msg.dir-in .seq-arrow:after {
  left: 0;
  border-right: 7px solid #6f7886;
}

/* TLS handshake row — two-way / dashed look */
.seq-msg.dir-tls .seq-arrow {
  background: transparent;
  border-top: 1px dashed #aab1bd;
  height: 0;
  top: 18px;
}
.seq-msg.dir-tls .seq-arrow:before {
  left: 0;
  border-right: 7px solid #6f7886;
}
.seq-msg.dir-tls .seq-arrow:after {
  right: 0;
  border-left: 7px solid #6f7886;
}

/* label sits centered under the arrow */
.seq-msg .seq-label {
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 1;
}
.seq-msg .seq-code {
  display: inline-block;
  font-family: "Menlo", "Monaco", "Lucida Console", monospace;
  font-size: 11px;
  color: #1d1d1f;
  background: #eef1f5;
  padding: 2px 7px 3px;
  border: 1px solid #d6dbe2;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.seq-msg .seq-code-accent {
  color: #fff;
  background: #4a90d9;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5da4e6),
    to(#3d7fc4)
  );
  background: -webkit-linear-gradient(top, #5da4e6, #3d7fc4);
  border-color: #2a5a8a;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
}
.seq-msg .seq-aside {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  color: #888;
  vertical-align: middle;
}

/* "persistent connection" divider */
.seq-msg.dir-divider {
  height: 26px;
  text-align: center;
}
.seq-msg.dir-divider:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 140px;
  right: 140px;
  height: 0;
  border-top: 1px dashed #cfd5de;
}
.seq-divider-label {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  padding: 1px 10px;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #889;
  background: #fdfdfd;
}

/* --------------------------------------------------------------------------
   SECURITY STRIP  (small row under the diagram)
   -------------------------------------------------------------------------- */
.security-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  zoom: 1;
  border-top: 1px solid #ececec;
  margin-top: 6px;
  padding-top: 12px;
}
.security-strip li {
  float: left;
  width: 25%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 4px 14px;
  border-right: 1px solid #ececec;
  text-align: center;
}
.security-strip li.last {
  border-right: 0;
}
.security-strip strong {
  display: block;
  font-family: "Menlo", "Monaco", "Lucida Console", monospace;
  font-size: 12px;
  color: #1d1d1f;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.security-strip span {
  font-size: 11px;
  color: #888;
}

/* DOC GATEWAY */
.doc-gateway {
  margin: 6px 0 0;
  padding: 12px 0 0;
  list-style: none;
  overflow: hidden;
  zoom: 1;
  border-top: 1px solid #ececec;
}
.doc-gateway li {
  float: left;
  width: 33.33%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-right: 1px solid #ececec;
}
.doc-gateway li.last {
  border-right: 0;
}
.doc-gateway a {
  display: block;
  padding: 8px 16px 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.doc-gateway a:hover {
  background: #f5f9fc;
}
.doc-gateway strong {
  display: block;
  font-size: 13px;
  color: #08c;
  margin-bottom: 3px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.doc-gateway a:hover strong {
  text-decoration: underline;
}
.doc-gateway span {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #888;
}

/* --------------------------------------------------------------------------
   SETUP + PUBLIC SERVERS (two-column row)
   -------------------------------------------------------------------------- */
.setup-row {
  margin-bottom: 15px;
  overflow: hidden;
  zoom: 1;
}
.setup-row:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.col-half {
  float: left;
  width: 49%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.col-half.first {
  margin-right: 2%;
}

/* shared head bar — light variant for the steps panel */
.setup-head {
  position: relative;
  padding: 10px 14px;
  background: #f5f5f5;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fafafa),
    to(#ececec)
  );
  background: -webkit-linear-gradient(top, #fafafa, #ececec);
  border: 1px solid #d6d6d6;
  border-bottom: 1px solid #c8c8c8;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.setup-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #1d1d1f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}
.setup-head .setup-meta {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  color: #888;
}

/* dark variant for the servers panel head */
.setup-head.dark {
  background-color: #525252;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5a5a5a),
    color-stop(0.5, #424242),
    color-stop(0.5, #343434),
    to(#2a2a2a)
  );
  background: -webkit-linear-gradient(
    top,
    #5a5a5a,
    #424242 50%,
    #343434 50%,
    #2a2a2a
  );
  border-color: #1b1b1b;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.setup-head.dark h3 {
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}
.setup-head.dark .setup-meta {
  color: #bbb;
  text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
}

/* --- setup steps panel --- */
.setup-panel {
  background: #fff;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#f5f5f5)
  );
  background: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
  border: 1px solid #d6d6d6;
  border-top: 0;
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.08) 0 1px 2px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 1px 2px;
}
.setup-panel .setup-head {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.setup-steps {
  list-style: none;
  margin: 0;
  padding: 12px 14px 4px;
}
.setup-steps li {
  position: relative;
  overflow: hidden;
  zoom: 1;
  padding: 10px 0 11px 42px;
  border-top: 1px solid #ececec;
  min-height: 30px;
}
.setup-steps li:first-child {
  border-top: 0;
}

.step-num {
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #4a90d9;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5da4e6),
    to(#3d7fc4)
  );
  background: -webkit-linear-gradient(top, #5da4e6, #3d7fc4);
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.15);
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
}

.step-body {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}
.step-body strong {
  color: #1d1d1f;
}
.step-body em {
  font-style: normal;
  color: #08c;
}

.setup-footnote {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 11px;
  color: #999;
  border-top: 1px solid #ececec;
  background: #fbfbfb;
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
.setup-footnote em {
  font-style: normal;
  color: #555;
}

/* --- public servers panel (dark, like itunesbox) --- */
.servers-panel {
  background: #1f1f1f;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 1px 3px;
  overflow: hidden;
}
.servers-panel .setup-head {
  border: 0;
  border-bottom: 1px solid #1b1b1b;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.server-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #2a2a2a;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#303030),
    to(#1f1f1f)
  );
  background: -webkit-linear-gradient(top, #303030, #1f1f1f);
}

.server-item {
  position: relative;
  overflow: hidden;
  zoom: 1;
  padding: 12px 14px 12px 36px;
  border-top: 1px solid #3a3a3a;
}
.server-item:first-child {
  border-top: 0;
}

.server-dot {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #555;
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.server-dot.up {
  background: #6dcf6d;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#86e186),
    to(#4cae4c)
  );
  background: -webkit-linear-gradient(top, #86e186, #4cae4c);
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 6px rgba(108, 207, 108, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 6px rgba(108, 207, 108, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.server-dot.byo {
  background: #d6b94f;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e8cf6e),
    to(#b89630)
  );
  background: -webkit-linear-gradient(top, #e8cf6e, #b89630);
}

.server-info {
  display: block;
}
.server-info strong {
  display: block;
  font-family: "Menlo", "Monaco", "Lucida Console", monospace;
  font-size: 13px;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
  line-height: 18px;
}
.server-info .server-meta {
  display: block;
  font-size: 11px;
  color: #999;
  line-height: 16px;
  margin-top: 2px;
}
.server-info .server-meta a {
  color: #6aabe6;
}

.server-state {
  position: absolute;
  right: 14px;
  top: 16px;
  padding: 2px 6px 3px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #222;
}
.server-state.up {
  color: #fff;
  background: #5cb85c;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#6dcf6d),
    to(#4cae4c)
  );
  background: -webkit-linear-gradient(top, #6dcf6d, #4cae4c);
  border-color: #3d8b3d;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
}
.server-state.byo {
  color: #ffe9a8;
  background: #5a4e2e;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#6a5c36),
    to(#3e3520)
  );
  background: -webkit-linear-gradient(top, #6a5c36, #3e3520);
  border-color: #2a230f;
}

.server-item.server-byo {
  background: rgba(255, 255, 255, 0.015);
}
.server-item.server-byo .server-info strong {
  color: #d8d8d8;
  opacity: 0.85;
}

/* Make the two columns visually balance in height with the dark panel */
.servers-panel,
.setup-panel {
  min-height: 280px;
}
